How do I watch for executables starting???

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.
 
G

Guest

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.
 

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