Export (0) Print
Expand All

RsaSignatureCookieTransform.HashName Property

.NET Framework 4.5

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

Supported in: 4.6, 4.5
© 2015 Microsoft