Ejemplo n.º 1
0
        public virtual int _GetUniqueIdentifier()
        {
            var hashCode = 399326290;

            hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (ClientKey?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (IPAddress?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (SessionId?.GetHashCode() ?? 0);
            hashCode = hashCode * -1521134295 + (ConnectedOn?.GetHashCode() ?? 0);
            return(hashCode);
        }
 public override int GetHashCode()
 {
     return(ClientKey != null?ClientKey.GetHashCode() : 0);
 }