Assembly: System (in system.dll)
The 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.
SystemSounds provides static methods to access the sounds associated with the Asterisk, Beep, Exclamation, Hand and Question sound events. Each property returns a SystemSound that can be used to play the sound.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.