IPAddress.Equals Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Compares two IP addresses.
Assembly: System.Net (in System.Net.dll)
Parameters
- comparand
- Type: System.Object
An IPAddress instance to compare to the current instance.
The Equals method compares the current IPAddress instance with the comparand parameter and returns true if the two instances contain the same IP address.
Show: