Retrieves sounds associated with a set of Windows operating system sound-event types. This class cannot be inherited.
See Also: SystemSounds Members
The System.Media.SystemSounds class provides methods for retrieving the sounds associated with a set of operating system sound-event types for the current user. The sounds associated with each type of operating system sound event can be configured in Windows Control Panel.
System.Media.SystemSounds provides static methods to access the sounds associated with the SystemSounds.Asterisk, SystemSounds.Beep, SystemSounds.Exclamation, SystemSounds.Hand and SystemSounds.Question sound events. Each property returns a System.Media.SystemSound that can be used to play the sound.