Get the MIME-type for the given file name based on its extension. C#: MimeTypes.GetMimeType.
The file name.
The MIME type, or application/octet-stream when the extension is unknown.
application/octet-stream
fileName is null or undefined.
fileName
Get the MIME-type for the given file name based on its extension. C#: MimeTypes.GetMimeType.