Phuc Hoang

Phuc Hoang

  • NA
  • 4
  • 0

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

Mar 5 2010 4:14 PM
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

Answers (3)