Page 1 of 1 1
Topic Options
#125356 - 2004-08-19 01:56 PM IP from Client PC connected to Citrix
Chrispybee Offline
Fresh Scripter

Registered: 2004-01-12
Posts: 21
HI, I've been looking on here for a routine that would help me get the local IP from a client that's in Citrix.
I've used a few and one only works when in as Domain Admin and the others just give the server IP.
I've seen a program called ClientData that's on Howards website. But cannot get the IP from this.

Any help would be great..

Top
#125357 - 2004-08-19 02:12 PM Re: IP from Client PC connected to Citrix
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
I use a little exe that I wrote a while ago.

It outputs data in an INI file format, which I redirect to a file and then read using ReadProfileString().

Here is an example of the data:
Code:
[CTXCINFO]
WFVersion_MAJOR=2
WFVersion_MINOR=18
WFVersion_BUILD=663
WFVersion_CSD=Service Pack 3
WFClientBuildNumber=17534
WFClientName=SGB007968
WFClientDirectory=C:\PROGRA~1\Citrix\ICACLI~1\
WFClientProductId=0x1
WFClientAddress=10.9.2.139
WFClientDisplay_HRES=1247
WFClientDisplay_VRES=937
WFClientDisplay_DEPTH=2
WFClientCacheMem_TINY=32768
WFClientCacheMem_LOW=3145728
WFClientCacheMem_XMS=0
WFClientCacheMem_DISK=0
WFClientCacheDim_SIZE=0
WFClientCacheDim_MIN=0
WFClientCacheDim_LEVEL=0
WFClientCacheDim_OVERHEAD=0
WFICABufferLength=2048
WFInitialProgram=
WFApplicationName=#SGB Desktop
[WFClientDrives]
C=2
D=9
G=4
H=4
I=4
J=4
P=4
Y=4



If you can't get the alternatives working and you'd like to use this, send me a private message and I'll send the executable to you.

Top
#125358 - 2004-08-19 02:18 PM Re: IP from Client PC connected to Citrix
Chrispybee Offline
Fresh Scripter

Registered: 2004-01-12
Posts: 21
HI Richard, thanks for that. Just one question, do you need administrative rights to run the exe?
Top
#125359 - 2004-08-19 02:47 PM Re: IP from Client PC connected to Citrix
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
We have a FAQ that links to several utilities that will work.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#125360 - 2004-08-19 03:46 PM Re: IP from Client PC connected to Citrix
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Quote:

HI Richard, thanks for that. Just one question, do you need administrative rights to run the exe?




No. All my users run it during login, so I have a record of the client information.

You should do as Les suggests and peruse the FAQ if you haven't already - there may be a better soution for you.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.142 seconds in which 0.114 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org