Skip to content

sanastasiou/FileSystemWatcher

Repository files navigation

FileSystemWatcher

A CLI wrapper for a C FileSystemWrapper to use in windows, base on the excellent article by Jim Beveridge

http://qualapps.blogspot.de/2010/05/understanding-readdirectorychangesw.html

The "default" FileSystemWatcher implementation in .NET has problems:

https://connect.microsoft.com/VisualStudio/feedback/details/687372/unhandled-exception-in-filesystemwatcher-suspect-caused-by-filename-in-japanese-locale

https://connect.microsoft.com/VisualStudio/feedback/details/832560/filesystemwatcher-listener-raising-an-unhandled-exception

https://social.msdn.microsoft.com/Forums/vstudio/en-US/4465cafb-f4ed-434f-89d8-c85ced6ffaa8/filesystemwatcher-reliability

https://connect.microsoft.com/VisualStudio/feedback/details/780775/filesystemwatcher-overlapped-listener-raising-an-exception-on-malformed-notifications

And probably others. I noticed the bugs during the implementation of a plugin. My plugin was crashing when a lot of files were removed/added.

This project , relies on a pure C/C++ implementation of a file system watcher and is more robust. On top of it is a CLI wrapper which exposes the same events as the original class. So one could seamlessly use this wrapper instead of the standard .net class.

About

A CLI wrapper for a C++ FileSystemWatcher.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages