In The Hand LtdIn The Hand
GetContentType Method (filename)
NamespacesInTheHand.IOFileHelperGetContentType(String)
.NET Components for Mobility
Returns the MIME content type for a specific file name.
Declaration Syntax
C#Visual Basic
public static string GetContentType(
	string filename
)
Public Shared Function GetContentType ( _
	filename As String _
) As String
Parameters
filename (String)
Full path to a file.
Return Value

[Missing <returns> documentation for "M:InTheHand.IO.FileHelper.GetContentType(System.String)"]

Remarks
Does not interrogate file contents, the file extension is used to match the content type.

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0