CryptoStream.Seek(Int64, SeekOrigin) CryptoStream.Seek(Int64, SeekOrigin) CryptoStream.Seek(Int64, SeekOrigin) CryptoStream.Seek(Int64, SeekOrigin) Method

Definition

Sets the position within the current stream.

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 Int64 Int64 Int64

A byte offset relative to the origin parameter.

origin
SeekOrigin SeekOrigin SeekOrigin SeekOrigin

A SeekOrigin object indicating the reference point used to obtain the new position.

Returns

This method is not supported.

Exceptions

Remarks

This method exists only to support inheritance from Stream, and cannot be used.

Applies to

See also