Provides simple domain name resolution functionality.
Public Static Methods | |
static std::vector< xtd::net::ip_address > | get_host_addresses (const xtd::string &host_name_or_address) |
Returns the Internet Protocol (IP) addresses for the specified host. | |
static xtd::net::ip_host_entry | get_host_entry (const ip_address &address) |
Resolves an IP address to an xtd::net::ip_host_entry instance. | |
static xtd::net::ip_host_entry | get_host_entry (const xtd::string &host_name_or_address) |
Resolves a host name or IP address to an xtd::net::ip_host_entry instance. | |
static xtd::string | get_host_name () |
Gets the host name of the local computer. | |
|
static |
Returns the Internet Protocol (IP) addresses for the specified host.
host_name_or_address | The host name or IP address to resolve. |
|
static |
Resolves an IP address to an xtd::net::ip_host_entry instance.
address | An IP address. |
|
static |
Resolves a host name or IP address to an xtd::net::ip_host_entry instance.
host_name_or_address | The host name or IP address to resolve. |
|
static |
Gets the host name of the local computer.