CryptoProviderFactory.ReleaseHashAlgorithm(HashAlgorithm) Method

Definition

Releases resources associated with a HashAlgorithm instance. The default behavior is to call Dispose().

public virtual void ReleaseHashAlgorithm (System.Security.Cryptography.HashAlgorithm hashAlgorithm);
abstract member ReleaseHashAlgorithm : System.Security.Cryptography.HashAlgorithm -> unit
override this.ReleaseHashAlgorithm : System.Security.Cryptography.HashAlgorithm -> unit
Public Overridable Sub ReleaseHashAlgorithm (hashAlgorithm As HashAlgorithm)

Parameters

hashAlgorithm
HashAlgorithm

The HashAlgorithm instance to release.

Exceptions

Thrown if hashAlgorithm is null.

Applies to