Clears the Clipboard and then adds a System.IO.Stream in the DataFormats.WaveAudio format.
- audioStream
- A System.IO.Stream containing the audio data.
To retrieve audio data from the Clipboard, first use the Clipboard.ContainsAudio method to determine whether the Clipboard contains audio data before retrieving it with the Clipboard.GetAudioStream method.
The System.Windows.Forms.Clipboard class can only be used in threads set to single thread apartment (STA) mode. To use this class, ensure that your Main method is marked with the STAThreadAttribute attribute.