Sets the position within the current stream.
Assembly: Rebex.Security (in Rebex.Security.dll)
Public Overrides Function Seek ( _ offset As , _ origin As _ ) As
public override Seek( offset, origin )
A byte offset relative to the origin parameter.
A value of type indicating the reference point used to obtain the new position.
Return ValueThe new position within the current stream.
|An I/O error occurs.|
|Methods were called after the stream was closed.|
|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.|