SecureString.Dispose Método

Definição

Libera todos os recursos usados pelo objeto SecureString atual.Releases all resources used by the current SecureString object.

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implementações

Comentários

O Dispose método grava zeros binários na memória alocada que contém o valor desse SecureString objeto e libera a memória alocada.The Dispose method writes binary zeroes to the allocated memory that contains the value of this SecureString object, then frees the allocated memory.

Para obter mais informações, confira Coleta de lixo.For more information, see Garbage Collection.

Aplica-se a