Ejemplo n.º 1
0
 public override string ToString()
 {
     return(LocalAddress.ToUpper(System.Globalization.CultureInfo.CurrentCulture) + ":" + LocalPort + "," + RemoteAddress.ToUpper(System.Globalization.CultureInfo.CurrentCulture) + ":" + RemotePort);
 }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     return((LocalAddress.ToUpper(System.Globalization.CultureInfo.CurrentCulture) + ":" + LocalPort + "," + RemoteAddress.ToUpper(System.Globalization.CultureInfo.CurrentCulture) + ":" + RemotePort).GetHashCode());
 }