Click or drag to resize
MimeKit

MeasuringStreamLength Property

Get the length of the stream, in bytes.

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

Property Value

Int64
The length of the stream in bytes.
Exceptions
ExceptionCondition
ObjectDisposedException The stream has been disposed.
Remarks
The length of a MeasuringStream indicates the number of bytes that have been written to it.
See Also