Method GetContentTypeOrDefault
GetContentTypeOrDefault(string)
Given a file path, determine the MIME type
Declaration
public ContentType GetContentTypeOrDefault(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | A file path |
Returns
Type | Description |
---|---|
ContentType | MIME type |