MeasuringStreamLength 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 MeasuringStream indicates the number of bytes that have been written to it.

Exceptions

ObjectDisposedException The stream has been disposed.

See Also