DnsClient.GetHostIP (gb.net)

Sub GetHostIP ( )

Takes the name of the host stored in the HostName property, and tries to resolve it.

The result of the resolution is stored in the HostIP property. If the resolution failed, the HostIP property will take the null value.