Skip to main content

TdxCloudStorageProvider.RegistryExtensionToMIMEType Property

Provides access to the dictionary populated with filename extensions and corresponding MIME content types.

Declaration

class property RegistryExtensionToMIMEType: TdxStringsDictionary read;

Property Value

Type
TdxStringsDictionary

Remarks

The cloud storage data provider populates this dictionary with filename extension registry keys located at ‘HKEY_LOCAL_MACHINE\SOFTWARE\Classes' and their ‘Content Type’ values containing the corresponding multipurpose internet mail extension (MIME) type strings. The data stream upload routines implemented by TdxCloudStorageProvider class descendants use this property to identify if MIME content types of the source and target data formats match.

You can call the RegistryExtensionToMIMEType.TryGetValue function to identify which MIME content type corresponds to a specific filename extension.

See Also