Hi,
I am wondering if there is a way how to detect if a certain application is running and by what user in a multi-user system.
I found a lot of discussions how to detect a running application with an executable name but moreover I would like to know what user is running the application. If more than one user got the application running how to get the list of the users.
I need this information in order to uninstall.
I just don’t want to uninstall in one user account if the application is still running in another user account.
Thanks for your help.
M.
How to check if an application is running by certain user?
7 posts
You could probably do this quite easily with the .NET Process class...
Stu
Stu
Hi Afro,
I am not familiar with the .NET Process class but it sounds to me that the user needs to have the .NET framework installed. Is that correct?
Can you explain it a little more bit in detail how i could apply that process class for my purpose or direct me to a link which gives more information.
Thank you.
M.
I am not familiar with the .NET Process class but it sounds to me that the user needs to have the .NET framework installed. Is that correct?
Can you explain it a little more bit in detail how i could apply that process class for my purpose or direct me to a link which gives more information.
Thank you.
M.
Hi Afrow,
Unfortunately I am not a member of the expert-exchange website and therefore can not see the solution.
Could you attach the solution in this thread please?
Thanks
M.
Unfortunately I am not a member of the expert-exchange website and therefore can not see the solution.
Could you attach the solution in this thread please?
Thanks
M.
You need to scroll down further to the 'solution'. I am not logged in and I can see it.
Stu
Stu