Mp3Audio
Mp3Audio constructor
Creates new Mp3Audio class from MP3 content, represented as byte stream, and with specified name
public Mp3Audio(string name, Stream binaryContent)
Parameter |
Type |
Description |
name |
String |
Name of the MP3 content. Cannot be null, empty or whitespaces. |
binaryContent |
Stream |
Content as byte stream. Reading begins from original position. Cannot be null. Should be readable and seekable. If this instance will be disposed, this stream will be disposed too. |
Exceptions
exception |
condition |
ArgumentException |
|
See Also