IPAddress Members
.NET Framework 2.0
Provides an Internet Protocol (IP) address.
The following tables list the members exposed by the IPAddress type.
| Name | Description | |
|---|---|---|
| Any | Provides an IP address that indicates that the server must listen for client activity on all network interfaces. This field is read-only. |
| Broadcast | Provides the IP broadcast address. This field is read-only. |
| IPv6Any | The Socket.Bind method uses the IPv6Any field to indicate that a Socket must listen for client activity on all network interfaces. |
| IPv6Loopback | Provides the IP loopback address. This property is read-only. |
| IPv6None | Provides an IP address that indicates that no network interface should be used. This property is read-only. |
| Loopback | Provides the IP loopback address. This field is read-only. |
| None | Provides an IP address that indicates that no network interface should be used. This field is read-only. |
| Name | Description | |
|---|---|---|
| Address | An Internet Protocol (IP) address. |
| AddressFamily | Gets the address family of the IP address. |
| IsIPv6LinkLocal | Gets whether the address is an IPv6 link local address. |
| IsIPv6Multicast | Gets whether the address is an IPv6 multicast global address. |
| IsIPv6SiteLocal | Gets whether the address is an IPv6 site local address. |
| ScopeId | Gets or sets the IPv6 address scope identifier. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals | Overloaded. Overridden. |
| GetAddressBytes | Provides a copy of the IPAddress as an array of bytes. |
| GetHashCode | Overridden. Returns a hash value for an IP address. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| HostToNetworkOrder | Overloaded. Converts a value from host byte order to network byte order. |
| IsLoopback | Indicates whether the specified IP address is the loopback address. |
| NetworkToHostOrder | Overloaded. Converts a number from network byte order to host byte order. |
| Parse | Converts an IP address string to an IPAddress instance. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Overridden. Converts an Internet address to its standard notation. |
| TryParse | Determines whether a string is a valid IP address. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |