Set or return the name of the remote host.
A string which specifies the host name.
The HostName property should be set to the name of the remote system that you wish to obtain information on. Setting this property causes a query to be submitted to the nameservers that you have specified. If the host name can be resolved, the HostAddress property is set to the IP address of the host, in dot-notation.
DnsClient Class | SocketTools Namespace