System.Security.PermissionSet.GetHashCode Method

Gets a hash code for the System.Security.PermissionSet object that is suitable for use in hashing algorithms and data structures such as a hash table.

Syntax

[System.Runtime.InteropServices.ComVisible(false)]
public override int GetHashCode ()

Returns

A hash code for the current System.Security.PermissionSet object.

Remarks

The hash code for two instances of the same permission set might be different, so a hash code should not be used to compare two System.Security.PermissionSet objects.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0