SocketTools .NET Edition

DnsClient.HostAddress Property

Set or return the Internet address for the remote host.

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

Property Value

A string value which specifies the Internet address in dot notation.

Remarks

Setting the HostAddress property causes the control to submit a reverse query to the nameservers that you have specified. If a reverse entry is found for the IP address, the HostName property is changed to that host name.

Note that reverse domain name records (PTR records) may not be defined for a system and the application must not depend on this information being available.

See Also

DnsClient Class | SocketTools Namespace | HostName Property