Quantcast
Channel: ฟอรัม Remote Desktop Services (Terminal Services)
Viewing all articles
Browse latest Browse all 25135

Get current sessionid-Remote desktop/Citrix

$
0
0

Hi,

My application/exe needs to get the session id of the invoker programetically- C#. I have used WTS APIs and check if the sessionstate is active then return sessionid. This works when there are single users connected to Terminal server. When there are multiple active sessions then the logic fails.

I have refered the URL :http://www.codeproject.com/Articles/111430/Grabbing-Information-of-a-Terminal-Services-Sessio

This lists all the sessions. I need to get the sessionid of the invoker only not all active.

Please help


Viewing all articles
Browse latest Browse all 25135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>