Internet Direct (Indy) Version 9.0.2 Beta
TIdMimeTable
Provides access to MIME types for the local computer.

TIdMimeTable = class(TObject)
Description
TIdMimeTable is a class used by Indy to provide access to the MIME types known from settings on the local computer system. TIdMimeTable provides both cached and dynamic access to the MIME types registered on the local computer,

Use Create to instantiates the class instance.

Use Free to release the class instance.

Use BuildCache to load MIME type from system settings on the local computer.

Use GetFileMIMEType to retrieve the MIME type for a specific file name.

Use GetDefaultFileExt to retrieve the file extension associated with the specific MIME type.