Click or drag to resize

IOUtilitiesGetFileExtensionFromContentType Method

Gets a file extension from a content type.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static string GetFileExtensionFromContentType(
	string contentType
)

Parameters

contentType
Type: SystemString
The content type.

Return Value

Type: String
An extension or null if it cannot be determined.
See Also