Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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 vb.net
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
kosay851.3K
Edited 10-Oct-12 4:29am
Wes Aday94.3K
v3
Comments
Milind Thakkar at 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
good
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[^]
  Permalink  
v2

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

  Print Answers RSS
0 DamithSL 320
1 OriginalGriff 195
2 Afzaal Ahmad Zeeshan 154
3 BillWoodruff 135
4 Peter Leow 115
0 OriginalGriff 7,510
1 DamithSL 5,519
2 Sergey Alexandrovich Kryukov 4,994
3 Maciej Los 4,936
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web02 | 2.8.141223.1 | Last Updated 12 Oct 2012
Copyright © CodeProject, 1999-2014
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