Επεξεργασία

Κοινή χρήση μέσω


Rfc2898DeriveBytes.Reset Method

Definition

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