Gets system MIME type.
Namespace: Jscape.EmailAssembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0
Syntax
C# |
---|
public static string GetMIMEType( string file ) |
Visual Basic |
---|
Public Shared Function GetMIMEType ( _ file As String _ ) As String |
Visual C++ |
---|
public: static String^ GetMIMEType( String^ file ) |
Parameters
- file
- Type: System..::..String
The file to get the MIME type of.
Return Value
The MIME type, or
application/x-unknown