CryptoProviderFactory.ReleaseHashAlgorithm(HashAlgorithm) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.