System.Security.Policy.StrongNameMembershipCondition.FromXml C# (CSharp) Method

FromXml() public method

public FromXml ( System e, System level ) : void
e System
level System
return void
    public void FromXml(System.Security.SecurityElement e, System.Security.Policy.PolicyLevel level) { }
    public override int GetHashCode() => base.GetHashCode();

Same methods

StrongNameMembershipCondition::FromXml ( SecurityElement e ) : void
StrongNameMembershipCondition::FromXml ( SecurityElement e, PolicyLevel level ) : void
StrongNameMembershipCondition::FromXml ( System e ) : void

Usage Example

		public void FromXml_NoVersion ()
		{
			StrongNameMembershipCondition snmc = new StrongNameMembershipCondition (blob, name, version);
			SecurityElement se = snmc.ToXml ();

			SecurityElement w = new SecurityElement (se.Tag);
			w.AddAttribute ("class", se.Attribute ("class"));
			snmc.FromXml (w);
		}
All Usage Examples Of System.Security.Policy.StrongNameMembershipCondition::FromXml