I need to change my vision application to use a different instance of a UDT and change labels on the screen based on the IP address of the client session. I am running the clients on an RDP (terminal server). I have the sessions running but getting the IP address using system.net.getIpAddress() returns the Host IP address of the server not the one the client uses to connect. The hostname also returns the name of the Host not the client. Using system.net.getExternalIpAddress() returns 127.0.0.1 and the client tag [System]Client/Network/IPAddress also returns 127.0.01.
Does anyone know of a way to get the RDP client session IP address?
Or any other way I could detect that it’s a different client starting up so my startup script on show of the window can set some things based on the individual client.