Dns Methods
.NET Framework 4.5
The Dns type exposes the following members.
| Name | Description | |
|---|---|---|
|
BeginGetHostAddresses | Asynchronously returns the Internet Protocol (IP) addresses for the specified host. |
|
BeginGetHostByName | Obsolete. Begins an asynchronous request for IPHostEntry information about the specified DNS host name. |
|
BeginGetHostEntry(IPAddress, AsyncCallback, Object) | Asynchronously resolves an IP address to an IPHostEntry instance. |
|
BeginGetHostEntry(String, AsyncCallback, Object) | Asynchronously resolves a host name or IP address to an IPHostEntry instance. |
|
BeginResolve | Obsolete. Begins an asynchronous request to resolve a DNS host name or IP address to an IPAddress instance. |
|
EndGetHostAddresses | Ends an asynchronous request for DNS information. |
|
EndGetHostByName | Obsolete. Ends an asynchronous request for DNS information. |
|
EndGetHostEntry | Ends an asynchronous request for DNS information. |
|
EndResolve | Obsolete. Ends an asynchronous request for DNS information. |
|
GetHostAddresses | Returns the Internet Protocol (IP) addresses for the specified host. |
|
GetHostAddressesAsync | Returns the Internet Protocol (IP) addresses for the specified host as an asynchronous operation. |
|
GetHostByAddress(IPAddress) | Obsolete. Creates an IPHostEntry instance from the specified IPAddress. |
|
GetHostByAddress(String) | Obsolete. Creates an IPHostEntry instance from an IP address. |
|
GetHostByName | Obsolete. Gets the DNS information for the specified DNS host name. |
|
GetHostEntry(IPAddress) | Resolves an IP address to an IPHostEntry instance. |
|
GetHostEntry(String) | Resolves a host name or IP address to an IPHostEntry instance. |
|
GetHostEntryAsync(IPAddress) | Resolves an IP address to an IPHostEntry instance as an asynchronous operation. |
|
GetHostEntryAsync(String) | Resolves a host name or IP address to an IPHostEntry instance as an asynchronous operation. |
|
GetHostName | Gets the host name of the local computer. |
|
Resolve | Obsolete. Resolves a DNS host name or IP address to an IPHostEntry instance. |