device.GetHashCode¶
int device.GetHashCode()
Serves as the device hash function.
Params¶
None
Output¶
| type | description |
|---|---|
| int32 | A hash code for the current object |
Examples¶
Device device = new Device("10.10.10.10", "80", false, "username", "password");
int deviceHashCode = device.GetHashCode();
Console.WriteLine(deviceHashCode)