Export (0) Print
Expand All

CryptoStream::Seek Method

Sets the position within the current stream.

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

public:
virtual long long Seek(
	long long offset, 
	SeekOrigin origin
) override

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.

ExceptionCondition
NotSupportedException

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

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft