Export (0) Print
Expand All

Rfc2898DeriveBytes::Reset Method

Resets the state of the operation.

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

public:
virtual void Reset() override

This method is automatically called if the salt or iteration count is modified.

The following example shows how to use the Reset method. This code example is part of a larger example provided for the Rfc2898DeriveBytes class.

decrypt->Write( edata1, 0, edata1->Length );
decrypt->Flush();
decrypt->Close();
k2->Reset();

.NET Framework

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

.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