ASP.NET File Detect MIME Tipo

var mimeType = MimeMapping.GetMimeMapping(fileName);
Lazar