HashAlgorithmProvider.CreateHash 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.
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.