hgil
asked on
Terminal server - unique client ID
Hi,
how can i get a unique client id ?
is there an api ?
i tried the following :
WTS_INFO_CLASS WTSInfoClass = WTSClientBuildNumber;
int rc = QuerySessionInformation(WT S_CURRENT_ SERVER_HAN DLE,WTS_CU RRENT_SESS ION,WTSInf oClass,&pB uffer,&pBy tesReturne d);
but its not a unique because 2 computers that connected with terminal server had the same number.
how can i get a unique client id ?
is there an api ?
i tried the following :
WTS_INFO_CLASS WTSInfoClass = WTSClientBuildNumber;
int rc = QuerySessionInformation(WT
but its not a unique because 2 computers that connected with terminal server had the same number.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I will leave a recommendation in the Cleanup topic area that this question is:
[accept omk]
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
[ewtaylor]
EE Cleanup Volunteer