From: calvarez on
Hi everyone,

I'm looking for some dll, ole, ocx that gives me the IP of the remote
pc connected to a terminal server session. I have a powerbuilder
application that will run each time the pc connects by terminal server
and I need to know its ip.

Thank you !

Cristian

From: Vera Noest [MVP] on
From http://ts.veranoest.net/ts_faq.htm

Q. How can I retrieve the client IP number?

A. You can retrieve the client IPnumber and computername with the
WTSQuerySessionInformation function:

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/termserv/termserv/wtsquerysessioninformation.asp

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
*----------- Please reply in newsgroup -------------*

"calvarez" <rcrisal(a)yahoo.com> wrote on 26 sep 2006:

> Hi everyone,
>
> I'm looking for some dll, ole, ocx that gives me the IP of the
> remote pc connected to a terminal server session. I have a
> powerbuilder application that will run each time the pc connects
> by terminal server and I need to know its ip.
>
> Thank you !
>
> Cristian
From: calvarez on
Hi Vera,

Thank you very much !

Cristian
Vera Noest [MVP] wrote:
> From http://ts.veranoest.net/ts_faq.htm
>
> Q. How can I retrieve the client IP number?
>
> A. You can retrieve the client IPnumber and computername with the
> WTSQuerySessionInformation function:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-
> us/termserv/termserv/wtsquerysessioninformation.asp
>
> _________________________________________________________
> Vera Noest
> MCSE, CCEA, Microsoft MVP - Terminal Server
> TS troubleshooting: http://ts.veranoest.net
> *----------- Please reply in newsgroup -------------*
>
> "calvarez" <rcrisal(a)yahoo.com> wrote on 26 sep 2006:
>
> > Hi everyone,
> >
> > I'm looking for some dll, ole, ocx that gives me the IP of the
> > remote pc connected to a terminal server session. I have a
> > powerbuilder application that will run each time the pc connects
> > by terminal server and I need to know its ip.
> >
> > Thank you !
> >
> > Cristian