Click or drag to resize
MimeKit

MeasuringStreamPosition Property

Get or set the current position within the stream.

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

Property Value

Int64
The position of the stream.
Exceptions
ExceptionCondition
IOException An I/O error occurred.
NotSupportedException The stream does not support seeking.
ObjectDisposedException The stream has been disposed.
Remarks
Since it is possible to seek within a MeasuringStream, it is possible that the position will not always be identical to the length of the stream, but typically it will be.
See Also