IncrementalHash.CreateHash(HashAlgorithmName) Methode

Definition

Erstellen Sie einen IncrementalHash für den von 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

Parameter

hashAlgorithm
HashAlgorithmName

Der Name des auszuführenden Hashalgorithmus.

Gibt zurück

Eine IncrementalHash Instanz, die bereit ist, den durch den angegebenen hashAlgorithmHashalgorithmus zu berechnen.

Ausnahmen

hashAlgorithm.Name ist null, oder die leere Zeichenfolge.

hashAlgorithm ist kein bekannter Hashalgorithmus.

Gilt für: