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

GetHashCode() public method

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

Usage Example

Example #1
0
 public static void FileCodeGroupCallMethods()
 {
     FileCodeGroup fcg = new FileCodeGroup(new GacMembershipCondition(), new FileIOPermissionAccess());
     CodeGroup cg = fcg.Copy();
     bool equals = fcg.Equals(new object());
     int hash = fcg.GetHashCode();
     PolicyStatement ps = fcg.Resolve(new Evidence());
     cg = fcg.ResolveMatchingCodeGroups(new Evidence());
 }