How can I get the MIME type from a file without is extension

Aug 6 2015 11:27 AM
Hello, 
 
I've a C# problem. I need to get and check the MIME type from a file without tacking care on is extension (because everyone can change it). I need to be sure that the file i've, is an audio file, such as a mp3 for exemple.
 
How can I do that ?
 
 Thanks. 

Answers (3)