System.Web.Configuration.PagesSection.ViewStateEncryptionMode Property

Gets or sets the encryption mode that ASP.NET uses when maintaining ViewState values.

Syntax

[System.Configuration.ConfigurationProperty("viewStateEncryptionMode", DefaultValue=System.Web.UI.ViewStateEncryptionMode.Auto)]
public System.Web.UI.ViewStateEncryptionMode ViewStateEncryptionMode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The possible System.Web.UI.Page.ViewStateEncryptionMode enumeration values are Always, Auto, and Never. The default value is Auto. If System.Web.UI.Page.ViewStateEncryptionMode property is set to Auto, ViewState will be encrypted when a control requests it.

Requirements

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