I have some c++ code to get the IP address of an RDP client session. I am using WTSQuerySessionInformation with the WTSClientInfo class. The code works when an RDP connection is made from any Vista+ OS except for Windows 8.1. Windows
8.1 always returns AF_UNSPEC for the IP address family. I have also tried to use the WTSClientAddress class with the same result. It appears to me that the code is working but that for some reason the RDP client on Windows 8.1 is not sending
an address. Why is Windows 8.1 different, and what do I need to do to get the address from the remote session?
↧