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