IncrementalHash.CreateHash(HashAlgorithmName) 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.
Create an IncrementalHash for the algorithm specified by 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
The name of the hash algorithm to perform.
Returns
An IncrementalHash instance ready to compute the hash algorithm specified
by hashAlgorithm
.
Exceptions
hashAlgorithm
.Name is null
, or
the empty string.
hashAlgorithm
is not a known hash algorithm.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.