Click or drag to resize

IOUtilitiesFindContentType Method (String)

Determines the MIME type from a file path. Based on Windows FindMimeFromData function.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static string FindContentType(
	string path
)

Parameters

path
Type: SystemString
The file path.

Return Value

Type: String
The content type or null if it cannot be determined.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
See Also