Export (0) Print
Expand All

MimeMapping.GetMimeMapping Method

.NET Framework 4.6 and 4.5

Returns the MIME mapping for the specified file name.

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

public static string GetMimeMapping(
	string fileName
)

Parameters

fileName
Type: System.String

The file name that is used to determine the MIME type.

Return Value

Type: System.String

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft