ChainedStreamLength Property

Get the length of the stream, in bytes.

Definition

Namespace: MimeKit.IO
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public override long Length { get; }

Property Value

Int64
The length of the stream in bytes.

Remarks

The length of a ChainedStream is the combined lenths of all of its chained streams.

Exceptions

NotSupportedException The stream does not support seeking.
ObjectDisposedException The stream has been disposed.

See Also