Interface IMimeTypeResolver
Resolves mappings from a filename to a mime type.
Namespace: EPiServer.Web
Assembly: EPiServer.Framework.dll
Version: 10.10.4Syntax
public interface IMimeTypeResolver
Methods
GetMimeMapping(String)
Get the MIME type that should be used for the provided filename.
Declaration
string GetMimeMapping(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | The name of the file for which a MIME type should be resolved. |
Returns
Type | Description |
---|---|
System.String | The MIME type to use for a file with the provided name |