Principal.GetHashCode Method ()


Retrieves the hash created from the contents of the principal object, suited for use in hashing algorithms and data structures like a hash table.

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

public override int GetHashCode()

Return Value

Type: System.Int32

A hash code for the current principal.

.NET Framework
Available since 3.5

Principal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top