HostName Property  
 

Gets and sets the name of the remote host.

Syntax

object.HostName [= hostname ]

Remarks

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.

Data Type

String

See Also

HostAddress Property, NameServer Property