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