IncrementalHash.CreateHash(HashAlgorithmName) Methode

Definitie

Maak een IncrementalHash voor het algoritme dat is opgegeven door hashAlgorithm.

public:
 static System::Security::Cryptography::IncrementalHash ^ CreateHash(System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public static System.Security.Cryptography.IncrementalHash CreateHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
static member CreateHash : System.Security.Cryptography.HashAlgorithmName -> System.Security.Cryptography.IncrementalHash
Public Shared Function CreateHash (hashAlgorithm As HashAlgorithmName) As IncrementalHash

Parameters

hashAlgorithm
HashAlgorithmName

De naam van het hash-algoritme dat moet worden uitgevoerd.

Retouren

Een IncrementalHash exemplaar dat gereed is om het hash-algoritme te berekenen dat is opgegeven door hashAlgorithm.

Uitzonderingen

hashAlgorithm.Name is null, of de lege tekenreeks.

hashAlgorithm is geen bekend hash-algoritme.

Van toepassing op