MimeTypeFromFileExtension Method
Creates a new MIME type based on file extension.

Namespace: Aspose.Html
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.11
Syntax
public static MimeType FromFileExtension(
	string fileName
)

Parameters

fileName
Type: SystemString
The name of the file.

Return Value

Type: MimeType
The new instance of MIME type
See Also