Compares two System.Net.DnsEndPoint objects.
- comparand
- A System.Net.DnsEndPoint instance to compare to the current instance.
true if the two System.Net.DnsEndPoint instances are equal; otherwise, false.
The DnsEndPoint.Equals(object) method compares the current System.Net.DnsEndPoint instance with the comparand parameter and returns true if the two instances contain the same endpoint.