Single Instance of App Per User

S

Stanley

I have been asked to make sure that a WinForm app can only have one instance
and this would not be an issue if that was the only part. I could simply
loop through the processes and see if the process name is already in the
collection. However, the second part of the request was to make sure that if
someone is running the app and someone else does the quick login or uses
Terminal Services that they be able to run the app under their network ID.
So I need to find a way to look at processes under a particular user or to
compare the processes users. Anyone know how this could be done?

TIA

-Stanley
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top