Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 27765

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 27765

Trending Articles



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