Property | Type | Description | |
---|---|---|---|
DefaultMimeType | string | ||
MimeSampleSize | int | ||
UrlmonOverrides | string>.Dictionary |
Method | Description | |
---|---|---|
GetMimeFromBytes ( string path ) : string |
Use MIME magic to find the mime of the file at this path
|
|
GetMimeFromBytes ( this data ) : string |
Use MIME magic to find the MIME type of this data block. This should be the first 256 bytes of a file
|
|
GetMimeFromFileName ( string filename ) : string | ||
GetMimeFromFileName ( this fileInfo ) : string |
Method | Description | |
---|---|---|
FindMimeFromData ( uint pBC, [ pwzUrl, [ pBuffer, uint cbSize, [ pwzMimeProposed, uint dwMimeFlags, uint &ppwzMimeOut, uint dwReserverd ) : uint | ||
MimeHelper ( ) : System |
public static GetMimeFromBytes ( string path ) : string | ||
path | string | |
return | string |
public static GetMimeFromBytes ( this data ) : string | ||
data | this | |
return | string |
public static GetMimeFromFileName ( string filename ) : string | ||
filename | string | |
return | string |
public static GetMimeFromFileName ( this fileInfo ) : string | ||
fileInfo | this | |
return | string |