If this is a bug I'll file it:

Doing File.Exists() or Directory.Exists() on a file / dir that the
running account doesn't have permission to causes this to return
false.  This is somewhat understandable (but is it correct?).
However, doing a new FileSystemWatcher() on the same existing, but not
accessible dir, throws a DirectoryNotFoundException().  This seems a
little less understandable.  But I'm not sure.

-Abe
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to