C#C
C#3y ago
GNUGradyn

✅ Does `FileSystemWatcher` work on linux? (Trying to monitor for files being added or renamed)

Hi. Im trying to monitor a directory for any files being added to it or renamed. I found FileSystemWatcher but the platform support is unclear. I suspect it does not work on linux because many of the events don't make sense on linux (e.g. how would LastWrite work when files arent locked on linux)

Does this work on linux? if not what should I use instead?
Was this page helpful?