System.Security.Permissions.FileIOPermission.GetHashCode Method

Gets a hash code for the System.Security.Permissions.FileIOPermission 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.Permissions.FileIOPermission object.

Remarks

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

Requirements

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