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

ToString() public method

public ToString ( ) : string
return string
    public override string ToString() => base.ToString();
    public System.Security.SecurityElement ToXml() { throw null; }

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