I have been trying to make a chatmachine, and i wanted to make it play music when the user asked for it, but the problem is how can i make the music stop again? Without closing the player, but by closing with the program..
I used this code
System.Diagnostics.Process.Start("C:Moves Like Jagger - Maroon 5 featuring Christina Aguilera - YouTube.mp3");
But how can i make it stop when the user writes stop..?