I am trying to get IP address from local computer. I came accross the function "getipaddresses", it works good. Only problem is it gets all the available ip address (even the vpn ip address, when connected). I just need ethernet adapter local area connection ip address (NOT MAC address).
I tried to read the function, but new to programing so cann't understand the steps in detail. Is there any other way to get the ethernet adapter IP address only?