I Want to play a song in the background of my WPF Application, but i prefer not using MediaElement Because it requires MediaPlayer 10 to run, and i can't have control on whether the user will have it or not.
What are my options?
I Want to play a song in the background of my WPF Application, but i prefer not using MediaElement Because it requires MediaPlayer 10 to run, and i can't have control on whether the user will have it or not.
What are my options?
If you do not want to use MediaElement
, you can use NAudio to play an MP3.
There are multiple ways to play a Mp3 File in .Net. Try IrrKlang for example which is free for non-comercial usage. You could also use the C# port of JavaLayer.