MediaTypeNames.ParseName

MediaTypeNames.ParseName method

Converts file name extension to media type name

public static string ParseName(string name)
ParameterTypeDescription
nameStringFile name extension

Return Value

Returns media type name

See Also