//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.Web.UI { using System; /// /// Specifies whether viewstate is encrypted. /// public enum ViewStateEncryptionMode { /// /// The viewstate will be encrypted if a control requests it. /// Auto = 0, /// /// The viewstate will always be encypted. /// Always = 1, /// /// The viewstate will never be encypted, even if a control requests it. /// Never = 2, } }