SocketAddress.Equals Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the specified Object is equal to the current SocketAddress instance.
Assembly: System.Net (in System.Net.dll)
Parameters
- comparand
- Type: System.Object
The specified Object to compare with the current SocketAddress instance.
Return Value
Type: System.Booleantrue if the two SocketAddress instances are equal; otherwise, false.
The Equals method compares the current SocketAddress instance with the comparand parameter and returns true if the two instances contain the same socket address.
Show: