HashAlgorithmProvider.CreateHash HashAlgorithmProvider.CreateHash HashAlgorithmProvider.CreateHash HashAlgorithmProvider.CreateHash HashAlgorithmProvider.CreateHash Method

Definition

Creates a reusable CryptographicHash object.

public : CryptographicHash CreateHash()
CryptographicHash CreateHash() const;
public CryptographicHash CreateHash()
Public Function CreateHash() As CryptographicHash
var cryptographicHash = hashAlgorithmProvider.createHash();

Returns

Remarks

You must call the OpenAlgorithm method before calling this property. Call the Append method on the CryptographicHash object to copy hashed data into a buffer. Call the GetValueAndReset method to retrieve the hashed data and reset the CryptographicHash object so that it can be used again to hash more data.

See also