SoundPlayer.Stream Property


Gets or sets the Stream from which to load the .wav file.

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

public Stream Stream { get; set; }

Property Value

Type: System.IO.Stream

A Stream from which to load the .wav file, or null if no stream is available. The default is null.

This property is set to null when the SoundLocation property is set to a new and valid sound location.

.NET Framework
Available since 2.0
Return to top