samuelneff / MimeTypeMap

Provides a huge dictionary of file extensions to mime types.
MIT License
625 stars 201 forks source link

Added .dwg mime-type and extended the logic of GetExtension method #48

Closed AxelUser closed 7 years ago

AxelUser commented 7 years ago

Now GetExtension has optional parameter throwIfNotFound for throwing ArgumentException if there is no suitable mime-type in collection.