Auto login based on IP

I have all the code correct and the auto login, but the problem I'm having is the system.net functions are returning the same address on different clients instead on the adapter ip of the device. tried getIpAddress and getExternalAddress.

It returns the address of the server

Those will always return what the gateway sees as the client's IP address, which will be the IP address of a router if there is any NAT activity going on.

However, a Vision local script can directly interrogate the java environment for client addresses and MAC IDs, among other things. See this topic for inspiration: