System.Security.Permissions.StrongNameIdentityPermission.FromXml C# (CSharp) Méthode

FromXml() public méthode

public FromXml ( System e ) : void
e System
Résultat void
    public override void FromXml(System.Security.SecurityElement e) { }
    public override System.Security.IPermission Intersect(System.Security.IPermission target) { throw null; }

Same methods

StrongNameIdentityPermission::FromXml ( SecurityElement e ) : void

Usage Example

		public void FromXml_NameEmpty ()
		{
			StrongNameIdentityPermission snip = new StrongNameIdentityPermission (PermissionState.None);
			SecurityElement se = snip.ToXml ();
			snip.FromXml (se);

			snip.PublicKey = new StrongNamePublicKeyBlob (ecma);
			snip.Version = new Version ("1.2.3.4");
			se = snip.ToXml ();
			snip.FromXml (se);
		}
All Usage Examples Of System.Security.Permissions.StrongNameIdentityPermission::FromXml