Internet Direct (Indy) Version 9.0.2 Beta
TIdMimeTable.GetDefaultFileExt
Returns the file extension for the specified MIME type.

function GetDefaultFileExt(Const MIMEType: string): string;
Parameters
Const MIMEType: string
The MIME type to examine.

Returns
String - The file extension for the MIME type.

Description
GetDefaultFileExt is a function used to retrieve the file extension for the registered MIME type specified in MIMEType.