FileSystemWatcher

  • Thread starter Thread starter Tom Jones
  • Start date Start date
T

Tom Jones

Is there a way to watch multiple file types with a single instance of
FileSystemWatcher? For example, what I would like to do is this:

FileSystemWatcher fsw = new FileSystemWatcher();
fsw.Filter = "*.txt;*.doc";

The only other thing I can think of is having a seperate instance for each
file type to be monitored...

Thanks,
Tom
 
Back
Top