Determines whether the current instance and the specified object represent the same type and value.
- obj
- The Object to compare to the current 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.
Note: This method overrides object.Equals(object).
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0