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

GetHashCode() public method

public GetHashCode ( ) : int
return int
    public override int GetHashCode() => base.GetHashCode();
    void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { }

Usage Example

 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::GetHashCode