Click here to Skip to main content
15,891,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
im looking for a filesystem watcher alternative thats picks up events better and more events. For example the secound a file is created or enters the system, gets renamed or deleted faster then a file system watcher. Also how can i make it watch all drives ( the entire system) Basically a faster or more effective filesystem watcher. Oh and if a file is opened(not as important) Thanks beforehand!

What I have tried:

Ive tried searching for theses new event features and to make it faster but so far not much :-(
Posted
Updated 30-Oct-17 7:33am
Comments
F-ES Sitecore 30-Oct-17 11:41am    
If you've googled and found nothing then it probably doesn't exist, people just make do with FSW.
Richard MacCutchan 30-Oct-17 12:09pm    
There are plenty of samples of FSW code that Google will find for you. All you need to do is add the extra code that you want.

1 solution

It doesn't exist.

You're using the FSW for something it wasn't designed for, nor does NTFS support.

The FSW polls for data meaning it looks for things that are different from the last time it went through the folder(s) it watching. So, to walk the entire directory tree of a drive takes a while. Due to the time involved, it WILL miss stuff while watching and entire drive.

It was meant to look at a single folder for changes, not an entire drive.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900