System.Security.Policy.HashMembershipCondition.Equals C# (CSharp) Method

Equals() public method

public Equals ( object o ) : bool
o object
return bool
    public override bool Equals(object o) => base.Equals(o);
    public void FromXml(System.Security.SecurityElement e) { }

Usage Example

示例#1
0
 public static void HashMembershipConditionCallMethods()
 {
     HashMembershipCondition hmc = new HashMembershipCondition(Cryptography.SHA1.Create(), new byte[1]);
     bool check = hmc.Check(new Evidence());
     IMembershipCondition obj = hmc.Copy();
     check = hmc.Equals(new object());
     int hash = hmc.GetHashCode();
     string str = hmc.ToString();
     SecurityElement se = new SecurityElement("");
     PolicyLevel pl = (PolicyLevel)Activator.CreateInstance(typeof(PolicyLevel), true);
     hmc.FromXml(se);
     hmc.FromXml(se, pl);
     se = hmc.ToXml();
     se = hmc.ToXml(pl);
 }
All Usage Examples Of System.Security.Policy.HashMembershipCondition::Equals