// after downloading test1.mp3 programmatically from a website ConvertMp3ToWav(@"D:\test1.mp3", @"D:\test1.wav"); SoundPlayer my_wave_file = new SoundPlayer(@"D:\test1.wav"); my_wave_file.PlaySync(); //delete the 2 files after using them finishes
Path.GetTempPath
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)