Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
System.Media Namespace

Updated: November 2007

The System.Media namespace contains classes for playing sound files and accessing sounds provided by the system.

The following classes are included in this namespace:

  • A SoundPlayer class for loading and playing sounds in various file formats.

  • A SystemSound class for representing and playing a system sound.

  • A SystemSounds class that retrieves sounds associated with a set of Windows operating system sound-event types.

  ClassDescription
ms143765.pubclass(en-us,VS.90).gifSoundPlayer Controls playback of a sound from a .wav file.
ms143765.pubclass(en-us,VS.90).gifSystemSound Represents a system sound type.
ms143765.pubclass(en-us,VS.90).gifSystemSounds Retrieves sounds associated with a set of Windows operating system sound-event types. This class cannot be inherited.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker