Treminal Server Client

  • Thread starter Thread starter Paul Ilacqua
  • Start date Start date
P

Paul Ilacqua

I'm going to have my program reside on a Win 2003 terminal Server, and will
be accessed from thin clients. How can I tell in my VB code what client
workstation is requesting the program.
Thanks
Paul
 
Hi Paul,

Check the value of the CLIENTNAME environment variable, or
call WTSQuerySessionInformation via pinvoke.

-TP
 
Back
Top