0
Answer

How can I get a callback when a new process starts?

somea

somea

19y
1.8k
1
For one of my projects, i'd like to keep track of processes as they start/exit.  The Process class can handle telling me when they exit, but what can I setup to notify me when new processes start?

Calling Process.GetByName() a dozen times a second and comparing with the previous list is just too ugly and inneficient.. there has to be a better way.