Using the .NET FileSystemWatcher http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx to monitor a directory full of files for : Changed; Created; Deleted; Renamed events .
What's the minimum the rights the Account running the FileSystemWatcher needs over the directory it's watching ?
It seems like it would be READ but I can't find that documented anywhere.
Thanks
If the FileSystemWatcher is based on ReadDirectoryChangesW it needs:
This is documented in the description of ReadDirectoryChangesW linked above.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With