| Author | Topic: How to determine RemoteIP (IP Address) of a PC running remote desktop to a Server |
---|
| Joao Grenhas | How to determine RemoteIP (IP Address) of a PC running remote desktop to a Server
on Tue, 23 Sep 2014 15:12:51 +0100Hi all,
when a PC connects to a server using remote desktop (or any other similar
software) is there a way to know the IP address of the PC?
Getting the server's IP address is normal, the problem here is getting the
PC's IP address
TIA |
| Thomas Braun | Re: How to determine RemoteIP (IP Address) of a PC running remote desktop to a Server
on Wed, 24 Sep 2014 09:12:09 +0200Joao Grenhas wrote:
> Hi all,
>
> when a PC connects to a server using remote desktop (or any other similar
> software) is there a way to know the IP address of the PC?
>
> Getting the server's IP address is normal, the problem here is getting the
> PC's IP address
I don't think this is possible. Program running on a remotely controlled
server do not know if there is a remote control session running or not
(apart from the remote desktop service of course.)
Thomas |
| Carlos Santos | Re: How to determine RemoteIP (IP Address) of a PC running remote desktop to a Server
on Wed, 24 Sep 2014 11:17:23 +0100 |
| Joao Grenhas | Re: How to determine RemoteIP (IP Address) of a PC running remote desktop to a Server
on Wed, 24 Sep 2014 11:46:51 +0100>"Carlos Santos" escreveu na mensagem
>news:2f8abb41$41b0d4b4$70bd1@news.alaska-software.com...
>Hi,
>
>See this link:
>
>http://www.grinshpoon.com/pblog/2012/09/24/find-out-whos-logged-on-to-a-remote-desktop-session/
>
>Download psexec.exe from microsoft.
>
>Carlos
Hi, thank you for your reply,
this is nice but not exactly what i need (or not so directly)
I need this information inside an application.
I already know if an application is running in a remote session (there is a
function here in the newsgroups that shows that ).
What i need then is to know the IP of the PC running the application (if we
use the normal routines to find out the IP, it gives the IP of the server)
TIA
"Joao Grenhas" escreveu na mensagem
news:62f1a6ee$320de6de$6e7e9@news.alaska-software.com...
Hi all,
when a PC connects to a server using remote desktop (or any other similar
software) is there a way to know the IP address of the PC?
Getting the server's IP address is normal, the problem here is getting the
PC's IP address
TIA |
| Jose Antonio Diego Kereje | Re: How to determine RemoteIP (IP Address) of a PC running remote desktop to a Server
on Wed, 24 Sep 2014 17:04:23 +0200Hi:
I use this old code to identify, among others, the client IP address
oWTS:= WTSsessionInformation():new():create()
IF oWTS:lIsRemoteSession
? oWTS:clientAddress()
ENDIF
Valid for LAN & VPN context.
Regards. Diego
"Joao Grenhas" escribió en el mensaje de noticias
news:310109f3$4a1ada01$70a9c@news.alaska-software.com...
> >"Carlos Santos" escreveu na mensagem
> >news:2f8abb41$41b0d4b4$70bd1@news.alaska-software.com...
>>Hi,
>>
>>See this link:
>>
>>http://www.grinshpoon.com/pblog/2012/09/24/find-out-whos-logged-on-to-a-remote-desktop-session/
>>
>>Download psexec.exe from microsoft.
>>
>>Carlos
>
> Hi, thank you for your reply,
> this is nice but not exactly what i need (or not so directly)
>
> I need this information inside an application.
>
> I already know if an application is running in a remote session (there is
> a function here in the newsgroups that shows that ).
>
> What i need then is to know the IP of the PC running the application (if
> we use the normal routines to find out the IP, it gives the IP of the
> server)
>
> TIA
>
>
>
> "Joao Grenhas" escreveu na mensagem
> news:62f1a6ee$320de6de$6e7e9@news.alaska-software.com...
>
> Hi all,
>
> when a PC connects to a server using remote desktop (or any other similar
> software) is there a way to know the IP address of the PC?
>
> Getting the server's IP address is normal, the problem here is getting the
> PC's IP address
>
> TIA
---
Este mensaje no contiene virus ni malware porque la protección de avast! Antivirus está activa.
http://www.avast.com WTS.CH WTS.PRG |
| Joao Grenhas | Re: How to determine RemoteIP (IP Address) of a PC running remote desktop to a Server
on Fri, 26 Sep 2014 10:49:41 +0100Thank you...exactly what i was looking for
Best Regards
"Jose Antonio Diego Kereje" escreveu na mensagem
news:7e2670f$75a08836$71078@news.alaska-software.com...
Hi:
I use this old code to identify, among others, the client IP address
oWTS:= WTSsessionInformation():new():create()
IF oWTS:lIsRemoteSession
? oWTS:clientAddress()
ENDIF
Valid for LAN & VPN context.
Regards. Diego
"Joao Grenhas" escribió en el mensaje de noticias
news:310109f3$4a1ada01$70a9c@news.alaska-software.com...
> >"Carlos Santos" escreveu na mensagem
> >news:2f8abb41$41b0d4b4$70bd1@news.alaska-software.com...
>>Hi,
>>
>>See this link:
>>
>>http://www.grinshpoon.com/pblog/2012/09/24/find-out-whos-logged-on-to-a-remote-desktop-session/
>>
>>Download psexec.exe from microsoft.
>>
>>Carlos
>
> Hi, thank you for your reply,
> this is nice but not exactly what i need (or not so directly)
>
> I need this information inside an application.
>
> I already know if an application is running in a remote session (there is
> a function here in the newsgroups that shows that ).
>
> What i need then is to know the IP of the PC running the application (if
> we use the normal routines to find out the IP, it gives the IP of the
> server)
>
> TIA
>
>
>
> "Joao Grenhas" escreveu na mensagem
> news:62f1a6ee$320de6de$6e7e9@news.alaska-software.com...
>
> Hi all,
>
> when a PC connects to a server using remote desktop (or any other similar
> software) is there a way to know the IP address of the PC?
>
> Getting the server's IP address is normal, the problem here is getting the
> PC's IP address
>
> TIA
---
Este mensaje no contiene virus ni malware porque la protección de avast!
Antivirus está activa.
http://www.avast.com |
| Carlos A Beling | Re: How to determine RemoteIP (IP Address) of a PC running remote desktop to a Server
on Wed, 24 Sep 2014 15:36:01 -0300Hello João:
good afternoon.
I am using the attached code, that works with an external "server" for
to get the IP.
Friendly
Beling
HTH
Em 23/9/2014 11:12, Joao Grenhas escreveu:
> Hi all,
>
> when a PC connects to a server using remote desktop (or any other
> similar software) is there a way to know the IP address of the PC?
>
> Getting the server's IP address is normal, the problem here is getting
> the PC's IP address
>
> TIA
> GetIp.prg |
| Joao Grenhas | Re: How to determine RemoteIP (IP Address) of a PC running remote desktop to a Server
on Fri, 26 Sep 2014 10:50:55 +0100Thank you...this is a valuable tool also
Best Regards
"Carlos A Beling" escreveu na mensagem
news:4ff54d1$608275eb$723df@news.alaska-software.com...
Hello João:
good afternoon.
I am using the attached code, that works with an external "server" for
to get the IP.
Friendly
Beling
HTH
Em 23/9/2014 11:12, Joao Grenhas escreveu:
> Hi all,
>
> when a PC connects to a server using remote desktop (or any other
> similar software) is there a way to know the IP address of the PC?
>
> Getting the server's IP address is normal, the problem here is getting
> the PC's IP address
>
> TIA
> |