Determines whether the specified object is equal to the current System.Net.IPEndPoint instance.
- comparand
- The specified object to compare with the current System.Net.IPEndPoint instance.
true if comparand represents the same endpoint as the current instance. If comparand is a null reference or is not an instance of System.Net.IPEndPoint, returns false .
Two System.Net.IPEndPoint instances are equal if their IPEndPoint.Address and IPEndPoint.Port properties contain the same values.