Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

XtsStream.Position Property

Namespace: Rebex.Security
Assembly: Rebex.Security.dll

Position

Gets or sets the position within the stream.

Declaration
public override long Position { get; set; }
Property Value
Type Description
Int64

The current position within the stream.

Overrides
Stream.Position
Exceptions
Type Condition
IOException

An I/O error occurs.

NotSupportedException

The stream does not support seeking.

ObjectDisposedException

Methods were called after the stream was closed.

InvalidOperationException

Position is set to a negative number or is greater than the stream length. If you need to increase stream length, use the SetLength method first.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies