c# find a wav file in the folder code example
Example: c# find a wav file in the folder
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();