Monitor multiple folders using FileSystemWatcher

Bi. picture Bi. · Apr 26, 2010 · Viewed 37.5k times · Source

Whats the best way to monitor multiple folders (not subdirectories) using FileSystemWatcher in C#?

Answer

Factor Mystic picture Factor Mystic · Apr 26, 2010

I don't think FSW supports monitoring multiple folders, so just instantiate one per folder you want to monitor. You can point the event handlers at the same methods, though, which should end up working like I think you want.