Export (0) Print
Expand All

Dns Methods

The Dns type exposes the following members.

  NameDescription
Public method Static member BeginGetHostAddresses Asynchronously returns the Internet Protocol (IP) addresses for the specified host.
Public method Static member BeginGetHostByName Obsolete. Begins an asynchronous request for IPHostEntry information about the specified DNS host name.
Public method Static member BeginGetHostEntry(IPAddress, AsyncCallback, Object) Asynchronously resolves an IP address to an IPHostEntry instance.
Public method Static member BeginGetHostEntry(String, AsyncCallback, Object) Asynchronously resolves a host name or IP address to an IPHostEntry instance.
Public method Static member BeginResolve Obsolete. Begins an asynchronous request to resolve a DNS host name or IP address to an IPAddress instance.
Public method Static member EndGetHostAddresses Ends an asynchronous request for DNS information.
Public method Static member EndGetHostByName Obsolete. Ends an asynchronous request for DNS information.
Public method Static member EndGetHostEntry Ends an asynchronous request for DNS information.
Public method Static member EndResolve Obsolete. Ends an asynchronous request for DNS information.
Public method Static member GetHostAddresses Returns the Internet Protocol (IP) addresses for the specified host.
Public method Static member GetHostByAddress(IPAddress) Obsolete. Creates an IPHostEntry instance from the specified IPAddress.
Public method Static member GetHostByAddress(String) Obsolete. Creates an IPHostEntry instance from an IP address.
Public method Static member GetHostByName Obsolete. Gets the DNS information for the specified DNS host name.
Public method Static member GetHostEntry(IPAddress) Resolves an IP address to an IPHostEntry instance.
Public method Static member GetHostEntry(String) Resolves a host name or IP address to an IPHostEntry instance.
Public method Static member GetHostName Gets the host name of the local computer.
Public method Static member Resolve Obsolete. Resolves a DNS host name or IP address to an IPHostEntry instance.
Top

Community Additions

ADD
Show:
© 2014 Microsoft