Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
See more:
as the title of the topic
I want to write a software that can identify users using any program?
Can not get the handle on top?
is feasible with the language as vb, c #, C + +

Thanks and regard
Posted
Comments
Joezer BH 3-Sep-13 3:48am    
More details please
what program do you wish to detect?
Do you wish to detect process running for a specific user, any user ?
dev C plus 3-Sep-13 3:55am    
what program do you wish to detect?
- The program can know programs like office, any browser, yahoo, skype. Etc.
Do you wish to detect process running for a specific user, any user ?
- specific user, if isn't feasible, so any user with service windows ?
Thanks for your reply
Joezer BH 3-Sep-13 4:32am    
See answer below :)
dev C plus 3-Sep-13 4:48am    
thanks u very much

1 solution

It is feasible :)

See:
- [CP article] How To Get Process Owner ID and Current User SID[^]
- [SO Q&A] How do I determine the owner of a process in C#?[^]

See also how to check if a process is running:
- [SO Q&A] Check if a specific exe file is running[^]
- [SO Q&A] How can I know if a process is running?[^]

Good luck,
Edo
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900