Seek Method

CryptoStream.Seek Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Throws a NotSupportedException in all cases.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public override long Seek(
	long offset,
	SeekOrigin origin
)

Parameters

offset
Type: System.Int64
A byte offset relative to the origin parameter.
origin
Type: System.IO.SeekOrigin
The reference point used to obtain the new position.

Return Value

Type: System.Int64
A NotSupportedException.

ExceptionCondition
NotSupportedException

In all cases.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft