I'm testing out using FileSystemWatcher in an app. It works, but the moment I uncomment "watcher.IncludeSubdirectories = true" I no longer get events (and no error occurs).
FileSystemWatcher watcher = new FileSystemWatcher();
watcher.Path = @"/home/awilliam/tmp";
watcher.Renamed += new RenamedEventHandler(watcher_Renamed);
watcher.Changed += new FileSystemEventHandler(watcher_Changed);
watcher.Created += new FileSystemEventHandler(watcher_Created);
watcher.Deleted += new FileSystemEventHandler(watcher_Deleted);
watcher.EnableRaisingEvents = true;
//watcher.IncludeSubdirectories = true;
Is this expected?
--
Adam Tauno Williams <[email protected]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
