System.Web.Configuration.MachineKeySection.Validation Property

Specifies the hashing algorithm that is used for validating forms authentication and view state data.

Syntax

[System.Configuration.ConfigurationProperty("validation", DefaultValue="SHA1")]
[System.ComponentModel.TypeConverter(typeof(System.Web.Configuration.MachineKeyValidationConverter))]
public MachineKeyValidation Validation { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The MachineKeySection.Validation property supports encryption algorithms that are defined by the System.Web.Configuration.MachineKeyValidation enumeration. This property is typically set declaratively in the decryption attribute of the machineKey element of the Web.config file. For more information, see the machineKey element.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0