Click or drag to resize
MimeKit

ChainedStreamPosition Property

Get or set the current position within the stream.

Namespace: MimeKit.IO
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
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
It is always possible to get the position of a ChainedStream, but setting the position is only possible if all of its streams are seekable.
See Also