SystemSound.Play Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Plays the system sound type.

Namespace:   System.Media
Assembly:  System (in System.dll)

public void Play()

The Play method plays the sound asynchronously.

The following code example demonstrates the use of the Asterisk property.

// Plays the sound associated with the Asterisk system event.

.NET Framework
Available since 2.0
Return to top