Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CryptoStream::Seek Method (Int64, SeekOrigin)

 

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.

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:
© 2017 Microsoft