Question

Locked

window focus detection under Citrix

By jstein ·
Dear all,

I'm working on a C#/.Net1.1
application where I need to detect if
the user has a specific process
running (e.g. iexplore.exe), and if
this application currently has the
window focus.

Currently this is implemented by
referencing user32.dll, asking it the
process ID from the main window and
then doing
Process.GetProcessByID(...); but for
normal users this fails under Citrix
for lack of permissions.
(SecurityPermission LinkDemand)

So I wondered if there's another way
of getting this information under
Citrix. Both my app and the
to-be-observed apps are running from
the citrix server. I've been lookng
into WMI but I can't quite figure out
if it can serve me. Is this the way
to go, or is there yet another route
to be taken?

Thanks in advance,
--
Jasper

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Networks Forum
0 total posts (Page 1 of 1)  

Related Forums