Need a clean way to distinctly identify between RDP and TS sessions. RRS feed

  • Question

  • We are using Win32 APIs ProcessIdToSessionId and GetSystemMetrics(SM_REMOTESESSION) to identify whether the session is remote or local.

    But we currently don’t have a clean way to identify in remote sessions whether they are created from TS clients or for RDP connection to a local station.


    Could you provide some technique prompt?


    Thanks a lot!


    Wednesday, September 4, 2019 9:43 AM