Provides simple domain name resolution functionality.
Methods | |
| static std::vector< xtd::net::ip_address > | get_host_addresses (const xtd::ustring &host_name_or_address) |
| Returns the Internet Protocol (IP) addresses for the specified host. More... | |
| 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. More... | |
| static xtd::net::ip_host_entry | get_host_entry (const xtd::ustring &host_name_or_address) |
| Resolves a host name or IP address to an xtd::net::ip_host_entry instance. More... | |
| static xtd::ustring | get_host_name () |
| Gets the host name of the local computer. More... | |
|
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.