Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MimeMapping Class
Collapse the table of content
Expand the table of content

MimeMapping Class

.NET Framework 4.6 and 4.5

Maps document extensions to content MIME types.


Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public static class MimeMapping

The MimeMapping type exposes the following members.

Public methodStatic memberGetMimeMappingReturns the MIME mapping for the specified file name.

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft