/// <summary> Gets the <see cref="string"/> representation of this <see cref="Connection"/> instance. </summary> /// <returns> The <see cref="string"/> representation of this <see cref="Connection"/> instance. </returns> public override string ToString() => $"Local: {IPLocalEndPoint?.ToString()} Remote: {IPRemoteEndPoint?.ToString()}";
/// <summary> /// Value of the connection. /// </summary> /// <returns>Overall data about the connection.</returns> public override string ToString() { return($"Local: {IPLocalEndPoint?.ToString()} Remote: {IPRemoteEndPoint?.ToString()}"); }