Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HashAlgorithm::Create Method ()

 

Creates an instance of the default implementation of a hash algorithm.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public:
static HashAlgorithm^ Create()

Return Value

Type: System.Security.Cryptography::HashAlgorithm^

A new SHA1CryptoServiceProvider instance, unless the default settings have been changed using the .

By default, this overload uses the SHA1CryptoServiceProvider implementation of a hash algorithm. If you want to specify a different implementation, use the Create(String^) overload, which lets you specify an algorithm name, instead. The cryptography configuration system defines the default implementation of HashAlgorithm.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft