Class MimeTypes
Guesses MIME types from file extensions for uploads.
Inherited Members
Namespace: Uniform.Matrix.Client
Assembly: Uniform.Matrix.Client.dll
Syntax
public static class MimeTypes
Methods
| Edit this page View SourceFromPath(string)
Return the MIME type for path, or application/octet-stream when unknown.
Declaration
public static string FromPath(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path |
Returns
| Type | Description |
|---|---|
| string |