Click or drag to resize

MimeTypeGetMimeType Method

IT Hit WebDAV Classes Reference
Returns the mime type corresponding to file extension.

Namespace:  ITHit.WebDAV.Server
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 11.3.10719
Syntax
public static string GetMimeType(
	string extension
)

public static string GetMimeType(
	string extension
)

Parameters

extension
Type: SystemString
File extension.

Return Value

Type: String
String representing mime-type or null if mime-type was not found for the specified extension.
See Also