StreamTools ThreadSafeStream Seek Method NetworkComms.Net Help
When overridden in a derived class, sets the position within the current stream.

Namespace: NetworkCommsDotNet.Tools
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public override long Seek(
	long offset,
	SeekOrigin origin
)

Parameters

offset
Type: OnlineSystem Int64
A byte offset relative to the origin parameter.
origin
Type: OnlineSystem.IO SeekOrigin
A value of type OnlineSeekOrigin indicating the reference point used to obtain the new position.

Return Value

Type: OnlineInt64
The new position within the current stream.
Exceptions

See Also