Show / Hide Table of Contents

Class MimeTypesMap

Mime type map

Inheritance
Object
MimeTypesMap
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Utils
Assembly:FubarDev.WebDavServer.dll
Syntax
public static class MimeTypesMap
Remarks

Taken from the project https://github.com/hey-red/MimeTypesMap

Fields

| Improve this Doc View Source

DefaultMimeType

The default mime type

Declaration
public const string DefaultMimeType = "application/octet-stream"
Field Value
Type Description
String
| Improve this Doc View Source

FolderContentType

The mime type for a collection

Declaration
public const string FolderContentType = "httpd/unix-directory"
Field Value
Type Description
String

Methods

| Improve this Doc View Source

GetMimeType(String)

Gets the mime type of a document name

Declaration
public static string GetMimeType(string fileName)
Parameters
Type Name Description
String fileName

The document name to get the mime type for

Returns
Type Description
String

The mime type of the fileName

  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX