Example #1
0
 protected bool Equals(NebulaConnection other)
 {
     return(peer?.Id == other.peer?.Id);
 }
Example #2
0
 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;
 }