SocketTools .NET Edition

DnsClient.HostName Property

Set or return the name of the remote host.

[Visual Basic]
Public Property HostName As String
[C#]
public string HostName {get; set;}

Property Value

A string which specifies the host name.

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.

See Also

DnsClient Class | SocketTools Namespace