Method ForPath
ForPath(string)
Returns the content type mapping for the provided input file name.
Declaration
public static string ForPath(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | Path to the file. |
Returns
| Type | Description |
|---|---|
| string | string of content type. Defaults to application/octet-stream. |