Mimetype in C#

Published on Wednesday, April 4, 2018

"Say hello to the System.Web.MimeMapping class that is part of the BCL in .NET Framework 4.5:

string mimeType = MimeMapping.GetMimeMapping(fileName);"

Sources

Get MimeType from filename extension

comments powered by Disqus