System.Security.Cryptography.HashAlgorithm.Clear Method

Releases all resources used by the System.Security.Cryptography.HashAlgorithm class.

Syntax

public void Clear ()

Remarks

This method is a simple call to the IDisposable.Dispose method.

Calling Dispose allows the resources used by the System.Security.Cryptography.HashAlgorithm class to be reallocated for other purposes. For more information about Dispose, see Cleaning Up Unmanaged Resources.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0