T
Tim
I'm trying to use a FileSystemWatcher object to monitor
changes to a network directory. I understand that if I
try to assign an un-available directory to the Path
property it will throw an exception to let me know the
path is invalid. But is there any way to find out if and
when a network directory that is initially available when
the Path is assigned subsequently becomes invalid once
the FileSystemWatcher is active and monitoring the
directory?
Secondly, can anyone tell me how frequently the
FileSystemWatcher will poll the directory it is watching
and if there is any way to configure this?
changes to a network directory. I understand that if I
try to assign an un-available directory to the Path
property it will throw an exception to let me know the
path is invalid. But is there any way to find out if and
when a network directory that is initially available when
the Path is assigned subsequently becomes invalid once
the FileSystemWatcher is active and monitoring the
directory?
Secondly, can anyone tell me how frequently the
FileSystemWatcher will poll the directory it is watching
and if there is any way to configure this?