Export (0) Print
Expand All

RsaEncryptionCookieTransform.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 to use. The default is “SHA2566”.

SHA256 is the default algorithm. This may require a minimum platform 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.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft