RegisterRequiresViewStateEncryption() public méthode

public RegisterRequiresViewStateEncryption ( ) : void
Résultat void
Exemple #1
0
		public void RegisterRequiresViewStateEncryption ()
		{
			Page p = new Page ();
			p.ViewStateEncryptionMode = ViewStateEncryptionMode.Always;
			p.RegisterRequiresViewStateEncryption ();
			// No changes after the Encryption 
		}
 void IPage.RegisterRequiresViewStateEncryption()
 {
     _page.RegisterRequiresViewStateEncryption();
 }