HashAlgorithmProvider.CreateHash Method

Definition

Creates a reusable CryptographicHash object.

public:
 virtual CryptographicHash ^ CreateHash() = CreateHash;
CryptographicHash CreateHash();
public CryptographicHash CreateHash();
function createHash()
Public Function CreateHash () As CryptographicHash

Returns

Reusable hash object.

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.

Applies to

See also