In the help file, part of "Working with Windows Registry", I can't find a way to get a registry value that contain the current IP address:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{8925C90D-09EA-4FA0-834D-D4E277309948}\Parameters\Tcpip
"IPAddress"=hex(7):31,00,30,00,2e,00,36,00,37,00,2e,00,31,00,30,00,34,00,2e,00,\
31,00,35,00,36,00,00,00,00,00
So how to get it? And compare it with an address like : 10.67.111.111, then if they are same, perform a task.