How to check if a sound file is a .wav file in C# ?

view full story

http://www.daniweb.com – Hi guys: Let's say somebody may change the extension of a .doc or .mp3 file to .wav, in my application, I want to check to make sure if a file is actually a .wav file. How do I do this in C# ? Please let me know, Thanks, Rocco (General)