I have been using following to get the ip4_address of WIFI.
net = CreateObject("roNetworkConfiguration", 1) // 1 for WIFI
net.GetCurrentConfig().ip4_address
Now, we switched to Ethernet.
Is there a method to get the IP address automatically w/o specifying the integer 1 and 0 ?