How do I watch for executables starting???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I am working on an AntiSpyware software/utility using VB.NET 2005
I need to create a class to watch for processes starting or executables
starting running.

So far the solution that I have come up with is to use the
System.Diagnostic.Process to iterates through running processes... This is
tedious and CPU intensive...
I would like a solution similar to the FileSystemWatcher, that would notify
me as soon as a new executable or process has started... so I can catch it,
scan it etc...
Is there any code, custom code or examples I could use to come up with this
stategy?
Any help would be appreciated.
Thank you,

Learner.
 
Thank you,
This looks promising, but it is written for CPP programmers, I am not sure
how I would apply it to a .NET VB.NET environment.
But this is a good start... thank you for your kind reply.

Learner.
 
Back
Top