Mega Code Archive

 
Categories / C# Tutorial / Development
 

Play the sound associated with the Asterisk event

using System; using System.Windows.Forms; using System.Media; public class MainClass {    public static void Main() {       // Play the sound associated with the Asterisk event       SystemSounds.Asterisk.Play();    } }