Discussion about this post

User's avatar
Mike's avatar

Years ago FileSystemWatcher was not 100% reliable and would miss file events so we found it wasn't suitable for production monitoring. Maybe this has changed recently, I don't know.

Rich M's avatar

Even in 1999, before .Net existed, we still didn’t use polling loops for this. We used the FindFirstChangeNotification or ReadDirectoryChangesW functions provided by the Win32 API.

No posts

Ready for more?