XtsStream.Position Property
Namespace: Rebex.Security
Assembly: Rebex.Security.dll (version 7.0.9448)
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
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. |