MimeMimeType Method

Return the MIME-type associated with the specified extension.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static string MimeType(
	string extension
)

Parameters

extension  String
File extension to associate.

Return Value

String
MIME-type associated with the specified file extension.

See Also