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