public override int GetHashCode() { int hash = Name.GetHashCode(); hash = 31 * hash + MAC.GetHashCode(); hash = 31 * hash + ConnectionQuality.GetHashCode(); hash = 31 * hash + AuthenticationType.GetHashCode(); return(hash); }
public override int GetHashCode() { return ((HMDeviceID != null ? HMDeviceID.GetHashCode() : 0) + (MQTTRootTopicLevel != null ? MQTTRootTopicLevel.GetHashCode() : 0) + (Version != null ? Version.GetHashCode() : 0) + (Status.GetHashCode()) + (Name != null ? Name.GetHashCode() : 0) + (LocalIP != null ? LocalIP.GetHashCode() : 0) + (MAC != null ? MAC.GetHashCode() : 0) + (UpTime != null ? UpTime.GetHashCode() : 0) + (Signal != null ? Signal.GetHashCode() : 0)); //finish }
public override int GetHashCode() { return(17 * MAC.GetHashCode() + SSID.GetHashCode()); }