IPAddress Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The IPAddress type exposes the following members.
Methods
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. |
Top