Products

GetIPAddress

Purpose

Returns the IP address of your computer that HomeSeer is using as a string like 192.168.1.1.  This returns a single IP address. Your computer may use more IP addresses.

If you wish to get the IP address and hostname of the machine, please see LANIP.


Parameters

None


Returns

Return value: IP address

Type: string


Example

Visual Basic
sub main()

	dim ipaddress

	ipaddress = hs.GetIPAddress
	hs.WriteLog "Info","The IP Address is " & ipaddress

end sub