Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IPAddress.Equals Method

Compares two IP addresses.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)
public override bool Equals(
	Object comparand
)

Parameters

comparand
Type: System.Object
An IPAddress instance to compare to the current instance.

Return Value

Type: System.Boolean
true if the two addresses are equal; otherwise, false.

The Equals method compares the current IPAddress instance with the comparand parameter and returns true if the two instances contain the same IP address.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.