get wav file duration c# code example
Example: c# find a wav file
var background = new System.Windows.Media.MediaPlayer();
background.Open(new Uri(Application.StartupPath + @"\YourWavFile.wav"));
background.Play();
var background = new System.Windows.Media.MediaPlayer();
background.Open(new Uri(Application.StartupPath + @"\YourWavFile.wav"));
background.Play();