public static bool Equals(NodeBasic n1, NodeBasic n2) { if ((n1.getIP().ToString() == n2.getIP().ToString())) //hashedIPs should be equal if IPs are equal; so need to check { return(true); } else { return(false); } }
public static bool Equals(NodeBasic n1, NodeBasic n2) { if ((n1.getIP().ToString() == n2.getIP().ToString())) //hashedIPs should be equal if IPs are equal; so need to check return true; else return false; }
public IPAddress getIP() { return(selfNodeBasic.getIP()); }