Click or drag to resize
MimeKit

MimeTypes Class

A mapping of file name extensions to the corresponding MIME-type.
Inheritance Hierarchy
SystemObject
  MimeKitMimeTypes

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.14.0
Syntax
C#
public static class MimeTypes

The MimeTypes type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetMimeType
Get the MIME-type of a file.
Public methodStatic memberRegister
Register a MIME-type to file extension mapping.
Public methodStatic memberTryGetExtension
Get the standard file extension for a MIME-type.
Top
Remarks
A mapping of file name extensions to the corresponding MIME-type.
See Also