.NET Library that supports working with Internet Media Types ("MIME Types")
$ dotnet add package FolkerKinzel.MimeTypesProject Reference and Release Notes
MimeString class works on strings and allows to convert file names into Internet Media Types ("MIME types") or Internet Media Types into appropriate file type extensions.MimeType class allows:
MimeTypeInfo struct allows memory efficient parsing, validating, and reformatting of Internet Media Type strings and allows to retrieve an appropriate file type extension.The library is designed to support performance and small heap allocation.