IAudio

IAudio interface

Represents an embedded audio file.

public interface 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; } 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