RsaSignatureCookieTransform.HashName Property

.NET Framework (current version)
 

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

Namespace:   System.IdentityModel
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public string HashName { get; set; }

Property Value

Type: System.String

The name of the hash algorithm. The default is “SHA256”.

SHA256 is the default algorithm. This may require a minimum operating system of Windows Server 2003 and .NET 3.5 SP1.

If SHA256 is not supported, set the HashName property to "SHA1".

.NET Framework
Available since 4.5
Return to top
Show: