Contains a public MIMEType Static Entity, which could be referenced from another modules:
The library has the functionality to retrieve 1 or more corresponding entries from the MIMEType Static Entity by providing a Binary Data file:
- MIMEType_GetAllSuitable - Returns a list of suitable MIMETypes on the basis of the magic numbers of a Binary file- MIMEType_GetByFile to MIMEType_Get - Returns a suitable MIMEType on the basis of the magic numbers of a Binary file
with optional parameters ExtensionPrioritized - Extension of file e.g. ".pdf", ".docx", etc. If non-empty and if more than 1 matching MIME Type found, a check will be made against this parameter and if such an entry exist, it will be the one returned / returned as first in the list
Added the following MIME Types to the MIMEType static entity: