Rfc2898DeriveBytes.Reset Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Resets the state of the operation.

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

public override void Reset()

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
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: