FileSystemWatcher

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top