>To All:
>
>Microsoft has convinced me to use RDP services rather than the old fashioned file server approach.
>BUT,
>Is there a way to know what work station name (not the user) is logging in via Remote Desktop and how many RDP connections are connected at any given time?
>
>This is for license control and in order to restrict program use to a certain set of allowable work stations.
>
>Any ideas will be greatly appreciated.
>
>Thanks again very much
>
>Rich Balluff
>RLB Associates
>916 663-6285
>408 396-0035
Concerning the work station name, see message#
790379 . You're interested in the ClientName
Concerning the number of sessions, I think you can use WTSEnumerateSessions
http://msdn.microsoft.com/en-us/library/aa383833(v=VS.85).aspxI don't know whether that's a good idea - there can be sessions that don't use your product at all - better use another means
Gregory