IPAddress Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The IPAddress type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Compares two IP addresses. (Overrides Object.Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetAddressBytes | Provides a copy of the IPAddress as an array of bytes. |
|
GetHashCode | Returns a hash value for an IP address. (Overrides Object.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
HostToNetworkOrder(Int16) | Converts a short value from host byte order to network byte order. |
|
HostToNetworkOrder(Int32) | Converts an integer value from host byte order to network byte order. |
|
HostToNetworkOrder(Int64) | Converts a long value from host byte order to network byte order. |
|
IsLoopback | Indicates whether the specified IP address is the loopback address. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
NetworkToHostOrder(Int16) | Converts a short value from network byte order to host byte order. |
|
NetworkToHostOrder(Int32) | Converts an integer value from network byte order to host byte order. |
|
NetworkToHostOrder(Int64) | Converts a long value from network byte order to host byte order. |
|
Parse | Converts an IP address string to an IPAddress instance. |
|
ToString | Converts an Internet address to its standard notation. (Overrides Object.ToString().) |
|
TryParse | Determines whether a string is a valid IP address. |
Show: