System.Net.NameResolution
Provides simple domain name resolution functionality.
Returns the Internet Protocol (IP) addresses for the specified host as an asynchronous operation.
Returns .The task object representing the asynchronous operation. The property on the task object returns an array of type that holds the IP addresses for the host that is specified by the parameter.
The host name or IP address to resolve.
is null.
The length of is greater than 255 characters.
An error is encountered when resolving .
is an invalid IP address.
Resolves an IP address to an instance as an asynchronous operation.
Returns .The task object representing the asynchronous operation. The property on the task object returns an instance that contains address information about the host specified in .
An IP address.
is null.
An error is encountered when resolving .
is an invalid IP address.
Resolves a host name or IP address to an instance as an asynchronous operation.
Returns .The task object representing the asynchronous operation. The property on the task object returns an instance that contains address information about the host specified in .
The host name or IP address to resolve.
The parameter is null.
The length of parameter is greater than 255 characters.
An error was encountered when resolving the parameter.
The parameter is an invalid IP address.
Gets the host name of the local computer.
A string that contains the DNS host name of the local computer.
An error is encountered when resolving the local host name.
Provides a container class for Internet host address information.
Initializes a new instance of the class.
Gets or sets a list of IP addresses that are associated with a host.
An array of type that contains IP addresses that resolve to the host names that are contained in the property.
Gets or sets a list of aliases that are associated with a host.
An array of strings that contain DNS names that resolve to the IP addresses in the property.
Gets or sets the DNS name of the host.
A string that contains the primary host name for the server.