Click or drag to resize

MIMEGetMIMEType Method

Gives a MIME-Type string back

Namespace:  SIC.File
Assembly:  SIC (in SIC.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static string GetMIMEType(
	string pFileExtension
)

Parameters

pFileExtension
Type: SystemString
file extension (with or without dot)

Return Value

Type: String

[Missing <returns> documentation for "M:SIC.File.MIME.GetMIMEType(System.String)"]

Remarks
Media types: text, image, video, audio, application, multipart, message and model.

requirement: resource file: MIMETypes.txt in same folder

structure: suffixes applicable "space" Media type and subtype(s)

// as comment line and this line will not read

See Also