DnsAbstraction static class DnsAbstraction Documentation Code public static IPAddress[] GetHostAddresses(string hostNameOrAddress) Returns the Internet Protocol (IP) addresses for the specified host. public static Task<IPAddress[]> GetHostAddressesAsync(string hostNameOrAddress) Returns the Internet Protocol (IP) addresses for the specified host.