IOUtilitiesFindContentType Method (String) |
Determines the MIME type from a file path. Based on Windows FindMimeFromData function.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static string FindContentType(
string path
)
Parameters
- path
- Type: SystemString
The file path.
Return Value
Type:
StringThe content type or null if it cannot be determined.
Exceptions See Also