IPAddress Class |
[SerializableAttribute] public class IPAddress
The IPAddress type exposes the following members.
| Name | Description | |
|---|---|---|
| IPAddress(Byte) | Initializes a new instance of the IPAddress class with the address specified as a Byte array | |
| IPAddress(Int64) | Initializes a new instance of the IPAddress class with the address specified as an System.Int64 | |
| IPAddress(Byte, Int64) | Initializes a new instance of the IPAddress class with the address specified as a Byte array and the specified scope identifier. |
| Name | Description | |
|---|---|---|
| AddressFamily | Gets the address family of the IP address. Returns SimplSharp.AddressFamily.InterNetwork for IPv4 or SimplSharp.AddressFamily.InterNetworkV6 for IPv6. | |
| 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 | Provides an IP address that indicates that the server must listen for client activity on all network interfaces. This field is read-only. | |
| 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. | |
| ScopeId | Gets or sets the IPv6 address scope identifier. Returns A long integer that specifies the scope of the address. |
| Name | Description | |
|---|---|---|
| Equals |
Compares two IP addresses.
(Overrides ObjectEquals(Object)) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetAddressBytes | Provides a copy of the SimplSharp.IPAddress as an array of bytes. | |
| GetHashCode |
Returns a hash value for an IP address.
(Overrides ObjectGetHashCode) | |
| 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 ObjectToString) |