Mono Class Library: System.Net.Sockets.NetworkStream Overview | Members

System.Net.Sockets.NetworkStream.Seek Method

Throws a NotSupportedException.

public override long Seek (long offset, System.IO.SeekOrigin origin)

Parameters

offset
This parameter is not used.
origin
This parameter is not used.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
NotSupportedExceptionAny call to this method.

Remarks

Note:

The System.IO.Stream base class uses this method to set the current position in the stream. This functionality is not supported in the System.Net.Sockets.NetworkStream class.

This method overrides System.IO.Stream.Seek(long, System.IO.SeekOrigin).

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0