Audio

Audio class

Represents an embedded audio file.

public class Audio : DomObject<AudioCollection>, IAudio

Properties

Name Description
BinaryData { get; } Returns the copy of an audio’s data. In case of large amount of data consider using of GetStream method to prevent unnecessary loading of audio’s data into memory or even OutOfMemoryException. Read-only Byte[].
ContentType { get; set; } Returns a MIME type of an audio, encoded in BinaryData. Read-only String.

Methods

Name Description
GetStream() Returns Stream stream for reading. Use ‘using’ or close stream after using.

See Also