CryptoProviderFactory.ReleaseHashAlgorithm(HashAlgorithm) Method

Definition

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

C#
public virtual void ReleaseHashAlgorithm(System.Security.Cryptography.HashAlgorithm hashAlgorithm);

Parameters

hashAlgorithm
HashAlgorithm

The HashAlgorithm instance to release.

Exceptions

Thrown if hashAlgorithm is null.

Applies to

Product Versions
Microsoft Identity Model latest