Network Module

Enables you to access certain properties of the networking environment. You access the Network object from the System object.

# Properties

None

Methods
IsConnected
LookupDNSAddress
LookupIPAddress
WakeOnLan

# Notes

The LookupDNSAddress and LookupIPAddress methods return empty strings on errors but return the string that was passed to the function if the address could not be resolved.

# Examples

The following call returns the IP address for the REALSoftware.com domain name.

Dim s as String
s= System.Network.LookupIPAddress("REALSoftware.com")
if s <> "" then
MsgBox s
else
MsgBox "An error occurred"
end if

# See Also

System object.