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