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

System.Net.Sockets.NetworkStream.Seek Method

Throws a NotSupportedException. [Edit]

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

Parameters

offset
This parameter is not used. [Edit]
origin
This parameter is not used. [Edit]

Returns

Documentation for this section has not yet been entered. [Edit]

Exceptions

TypeReason
NotSupportedExceptionAny call to this method. [Edit]

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).

[Edit]

Requirements

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