I am developing a WinForm
application. I want to play a MP3 file when the user clicks a button.
The MP3 file is located in the file system of the computer where the application is executed.
I have Googled for a while and I have found information about the System.Media.SoundPlayer
class. But I have read that the SoundPlayer
class can only be used to play files in .wav format.
What classes can be used to play files in .mp3 format ?
Any help will be greatly appreciated.