MachineKeySection.Decryption Property

Specifies the type of hashing algorithm that is used for decrypting data.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

property String^ Decryption {
	String^ get ();
	void set (String^ value);
/** @property */
public String get_Decryption ()

/** @property */
public void set_Decryption (String value)

public function get Decryption () : String

public function set Decryption (value : String)

Not applicable.

Property Value

A value that indicates the type of algorithm used to decrypt data. Auto is the default.

Exception typeCondition


The selected value is not one of the decryption values.

There are three decryption values that can be specified for the Decryption property:

  • Auto, which is the default value, specifies that ASP.NET determines which decryption algorithm to use based on configuration default settings.

  • AES specifies that ASP.NET uses the AES algorithm to decrypt data. AES is the default algorithm to decrypt data.

  • 3DES specifies that ASP.NET uses the TripleDES algorithm to decrypt data.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions