Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Seek Method

CryptoStream.Seek Method

Sets the position within the current stream.

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

Public Overrides Function Seek ( _
	offset As Long, _
	origin As SeekOrigin _
) As Long


Type: System.Int64

A byte offset relative to the origin parameter.

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.


This method is not supported.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
© 2015 Microsoft