CryptoStream.Seek Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Throws a NotSupportedException in all cases.

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

Syntax

'Declaration
Public Overrides Function Seek ( _
    offset As Long, _
    origin As SeekOrigin _
) As Long
public override long Seek(
    long offset,
    SeekOrigin origin
)

Parameters

  • offset
    Type: System.Int64
    A byte offset relative to the origin parameter.

Return Value

Type: System.Int64
A NotSupportedException.

Exceptions

Exception Condition
NotSupportedException

In all cases.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.