Basically this question except i am using ASP.NET. How do i take a given file and check if it is
- image (all formats except bitmap including photoshop)
- archive (7z, rar, zip, etc). NOTE: I know a file can be both an image and zip. I can check if its both in code.
- sound (most such as m4a, flac, ogg, but not wav)
- model (3ds, X, B3D, etc)
The solution does not need to check all of these but if i can get a few to check all of these then great.