IncrementalHash.CreateHash(HashAlgorithmName) Yöntem

Tanım

Belirtilen algoritma için bir IncrementalHash oluşturur.

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

Parametreler

hashAlgorithm
HashAlgorithmName

Gerçekleştirilecek karma algoritmasının adı.

Döndürülenler

IncrementalHash

tarafından hashAlgorithmbelirtilen karma algoritmasını hesaplamaya hazır bir IncrementalHash örnek.

Özel durumlar

hashAlgorithm.Name veya null boş bir dizedir.

hashAlgorithm bilinen bir karma algoritması değildir.

Şunlara uygulanır