Class MimeUtilities
- Namespace
- Oqtane.Extensions
- Assembly
- Oqtane.Server.dll
public static class MimeUtilities
- Inheritance
-
objectMimeUtilities
Methods
GetMimeType(File)
Return Mime content type based on file extension
public static string GetMimeType(this File file)
Parameters
file
File
Returns
- string
GetMimeType(string)
Return Mime content type based on file extension
public static string GetMimeType(string fileName)
Parameters
fileName
stringFile name
Returns
- string