Platform Core .NET Assemblies API
GetMimeType(String) Method
See Also  Send Feedback
Terrasoft.Common Namespace > MimeTypeDetector Class > GetMimeType Method : GetMimeType(String) Method
fileName
The file name that is used to determine the MIME type.

Glossary Item Box

Returns the MIME mapping for the specified file name.

Syntax

 
C#
 
 

Parameters

fileName
The file name that is used to determine the MIME type.

Return Value

Result of determine MIME type. Terrasoft.Core.MimeDetector.MimeTypeResult

Remarks

If the file name with the extension is available in the code, use the method that takes the file name as a parameter.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.