"amdrit" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I am looking for a way to query a client machines session id(s) to a
>terminal server. Does the client know the session id it has been assigned?
>
> It seems to me that WTSEnumerateSessions API is only viable when ran
> against a server. Is there an API available to ask the client of all its
> open sessions? Is there an event sink that I can use to monitor
> connection open and connection close?
You posted to the wrong groups. microsoft.public.windows.terminal_services
is for TS usage by end users, not for development. "vb" groups without
"dotnet" or "vsnet" in the group name are for VB Classic(VB6 or lower). You
posted to dotnet.general, but this is generic group. VB.Net and all dotnet
groups have either "dotnet" or "vsnet" in the group name. Please use the
following group instead:
news://msnews.microsoft.com/microsof...t.languages.vb