Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onevent when process starts

Status
Not open for further replies.

HebieBug

Programmer
Joined
Jan 8, 2001
Messages
354
Location
JP
Can currently get list of all processes running on workstation using System.Diagnostics.Process.GetProcesses thats not a problem. I would like the app to be notified (onevent) when a new application starts in memory. Does anyone know how to do this ?
 
I'm not aware of any such event. You could however use a timer and call GetProcesses in the timer event.

Hope this helps.
 
Unfortunately that’s the last thing that I am after. I want to catch the app as it's loaded in memory so I can kill the app if it is an unknown. If the timer is to long it can cause the unwanted process to run for a time and to short the app consumes the processor.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top