Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int h4   = SessionVersion.GetHashCode();
            int hash = GetSessionHashCode();

            hash = hash * 31 + h4;
            return(hash);
        }
Exemplo n.º 2
0
 public override string ToString()
 {
     return(String.Join(" ", new string [] {
         Username,
         SessionId,
         SessionVersion.ToString(CultureInfo.InvariantCulture),
         NetType,
         AddressType,
         UnicastAddress,
     }));
 }