Click here to Skip to main content
11,922,204 members (46,202 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB system VB.NET
Hi All
I have question
I use file system watcher to get message if new file create (for example I need to monitor path " C:\ " but I need to find what is the file or process create this file?
in other words if virus create auto run.inf file I need system file watcher give me message when auto run file created and what is the file create this file ?
I know I can make it by using driver but the question can I do it in
like antivirus when file try create auto run file it detect it and give the user message
thank you
Posted 10-Oct-12 4:05am
Edited 10-Oct-12 4:29am
Wes Aday104.2K
Milind Thakkar 10-Oct-12 9:07am
Give some more details and things that you have tried to enable people to help you.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Go ahead with WMI and subscribe for events, you can have some idea on this from the article below:
Directory Monitor Service controls SSIS Package Execution[^]

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

  Print Answers RSS
0 OriginalGriff 573
1 Dave Kreskowiak 285
2 Sergey Alexandrovich Kryukov 243
3 Richard MacCutchan 155
4 ppolymorphe 135
0 OriginalGriff 7,231
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,356
3 George Jonsson 2,865
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web02 | 2.8.151120.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100