Get public IP address of a network/computer.
#include <inet.au3>
_GetIP()
Parameters
None.
Return Value
None.
Remarks
This only returns the Public IP address of a computer or network. Do not forget to set a the return value to a variable.
Related
Example
#include <Inet.au3>
$PublicIP = _GetIP()
MsgBox(0, "IP Address", "Your IP Address is: " & $PublicIP)