Dns Class
Provides simple domain name resolution functionality.
Namespace: System.Net
Assembly: System (in system.dll)
Syntax
public static class Dns
Remarks
The Dns class is a static class that retrieves information about a specific host from the Internet Domain Name System (DNS).
The host information from the DNS query is returned in an IPHostEntry object. If the specified host has more than one entry in the DNS database, the IPHostEntry object contains multiple IP addresses and aliases.
Note
The .NET Micro Framework does not support IPv6. If you are using IPv6 and your program attempts to retrieve a network address or network address properties, it will throw an exception.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.