Answers for "play sound c#"

C#
0

play sound c#

//Library for using the Play() and Stop() method 
using System.Media

SoundPlayer player = new System.Media.SoundPlayer(@"c:\mywavfile.wav");
//Play the selected sound from the path
player.Play();
Posted by: Guest on March-14-2022

C# Answers by Framework

Browse Popular Code Answers by Language