CryptoAPITransform.Reset Método

Definição

Redefine o estado interno do CryptoAPITransform para que ele possa ser usado novamente para realizar uma criptografia ou descriptografia diferente.Resets the internal state of CryptoAPITransform so that it can be used again to do a different encryption or decryption.

public:
 void Reset();
[System.Runtime.InteropServices.ComVisible(false)]
public void Reset ();
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.Reset : unit -> unit
Public Sub Reset ()
Atributos

Comentários

O Reset método é chamado automaticamente quando você chama TransformFinalBlock.The Reset method is called automatically when you call TransformFinalBlock. O Reset método não é chamado quando, por exemplo, os dados de entrada criptografados são lixo e não podem ser descriptografados.The Reset method is not called when, for example, the encrypted input data is garbage and cannot be decrypted. Nesse caso, uma exceção é lançada e Reset não é chamada.In this case, an exception is thrown and Reset is not called. Você pode optar por chamar o Reset método manualmente nesse caso.You can choose to manually call the Reset method in this case.

Aplica-se a