HMAC.HashName Property

 

Gets or sets the name of the hash algorithm to use for hashing.

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

public string HashName { get; set; }

Property Value

Type: System.String

The name of the hash algorithm.

Exception Condition
CryptographicException

The current hash algorithm cannot be changed.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: