FileFormatUtilDetectFileFormat Method (String) |
Detects and returns the information about a format of a file.
Namespace:
Aspose.Email.Tools
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic static FileFormatInfo DetectFileFormat(
string filePath
)
Public Shared Function DetectFileFormat (
filePath As String
) As FileFormatInfo
public:
static FileFormatInfo^ DetectFileFormat(
String^ filePath
)
static member DetectFileFormat :
filePath : string -> FileFormatInfo
Parameters
- filePath
- Type: SystemString
Path to the source file.
Return Value
Type:
FileFormatInfoThe result
FileFormatInfo
See Also