Retrieves the MIME type for a given file.
function GetMIMETypeFromFile( const AFile: String ): string;
Parameters |
Description |
AFile |
Name of the file to examine for the MIME type. |
String - The MIME type for the specified file.
GetMIMETypeFromFile is a String function used to determine the MIME type for the file specified in AFile. GetMIMETypeFromFile uses methods in a TIdMIMETable instance to determine the registered MIME type for the specified file.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |