Rfc2898DeriveBytes.Reset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resets the state of the operation.
public:
override void Reset();
public override void Reset ();
override this.Reset : unit -> unit
Public Overrides Sub Reset ()
Examples
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();
decrypt.Write(edata1, 0, edata1.Length);
decrypt.Flush();
decrypt.Close();
k2.Reset();
decrypt.Write(edata1, 0, edata1.Length)
decrypt.Flush()
decrypt.Close()
k2.Reset()
Remarks
This method is automatically called if the salt or iteration count is modified.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.