protected bool Equals(NebulaConnection other) { return(peer?.Id == other.peer?.Id); }
protected bool Equals(NebulaConnection other) { return(string.Equals((string)webSocket_base64Key.GetValue(peerSocket), (string)webSocket_base64Key.GetValue(other.peerSocket))); // TODO: Check if this works //return peerSocket == other.peerSocket; }