Partager via


CryptoProviderFactory.ReleaseHashAlgorithm(HashAlgorithm) Method

Definition

When finished with a HashAlgorithm call this method for cleanup. 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

HashAlgorithm to be released.

Exceptions

thrown if hashAlgorithm is null.

Applies to