How detect the file type (MIME) without considering the file extension?

Posted by stuzzo on Stack Overflow See other posts from Stack Overflow or by stuzzo
Published on 2010-04-19T12:37:29Z Indexed on 2010/04/19 12:43 UTC
Read the original article Hit count: 312

Filed under:
|
|
|

I find a similar post http://stackoverflow.com/questions/58510/using-net-how-can-you-find-the-mime-type-of-a-file-based-on-the-file-signature and it is the same result I want, I tried to use it but I received always application/octet-stream instead of video/x-flv or video/x-msvideo. I think I miss something, have you any suggest for me? Should I add some kind of information on my workspace?

© Stack Overflow or respective owner

Related posts about c#

Related posts about mime