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.

KeyedHashAlgorithm::Create Method ()

 

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

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

public:
static KeyedHashAlgorithm^ Create()

Return Value

Type: System.Security.Cryptography::KeyedHashAlgorithm^

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

By default, this overload uses the HMACSHA1 implementation of a keyed 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 the KeyedHashAlgorithm class.

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