NetworkStream.Seek(Int64, SeekOrigin) Method

Definition

Sets the current position of the stream to the given value. This method is not currently supported and always throws a NotSupportedException.

public:
 override long Seek(long offset, System::IO::SeekOrigin origin);
public override long Seek (long offset, System.IO.SeekOrigin origin);
override this.Seek : int64 * System.IO.SeekOrigin -> int64
Public Overrides Function Seek (offset As Long, origin As SeekOrigin) As Long

Parameters

offset
Int64

This parameter is not used.

origin
SeekOrigin

This parameter is not used.

Returns

The position in the stream.

Exceptions

Any use of this property.

Applies to