Share via


IPEndPoint.Equals Method

Tests an IPEndPoint to see if it is equal to the current IPEndPoint.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public bool Equals (
         Objectcomparand
)

Parameters

  • comparand
    Holds the end point to compare.

Return Value

true if the endpoints are equal; otherwise false.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.

See Also

Reference

IPEndPoint Class
IPEndPoint Members
System.Net Namespace