Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileIOPermission.GetHashCode Method ()


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

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public override int GetHashCode()

Return Value

Type: System.Int32

A hash code for the current FileIOPermission object.

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

.NET Framework
Available since 2.0
Return to top
© 2017 Microsoft