Mono Class Library: System.Net.IPEndPoint Overview | Members

System.Net.IPEndPoint.Equals Method

Determines whether the current instance and the specified object represent the same type and value. [Edit]

public override bool Equals (object obj)

Parameters

obj
The Object to compare to the current instance. [Edit]

Returns

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 . [Edit]

Remarks

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).

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0