C# Class CmisSync.Lib.Cmis.MimeType

Utility to find a file's MIME type. The current implementation relies on file extension.
Afficher le fichier Open project: OpenDataSpace/CmisSync

Méthodes publiques

Méthode Description
GetMIMEType ( string fileName ) : string

Guess the MIME type of a file.

Private Methods

Méthode Description
MimeType ( ) : System

Initializes static members of the CmisSync.Lib.Cmis.MimeType class.

Method Details

GetMIMEType() public static méthode

Guess the MIME type of a file.
public static GetMIMEType ( string fileName ) : string
fileName string Relative filename, for instance mydoc.odt
Résultat string