CryptoStream.Seek Method (Int64, SeekOrigin)

 

Sets the position within the current stream.

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

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

Return Value

Type: System.Int64

This method is not supported.

Exception Condition
NotSupportedException

This method is not supported.

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

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: