FileSystemWatcher.Filter

  • Thread starter Thread starter Ian Frawley
  • Start date Start date
I

Ian Frawley

anyone know how to filter different file types ie .jpg .gif in
FileSystemWatcher.Filter?

Ian

--
"Life should NOT be a journey to the grave
with the intention of arriving safely in an
attractive and well preserved body,
but rather to skid in sideways,
chocolate in one hand, beer in the other,
body thoroughly used up,
totally worn out and screaming
WOO HOO what a ride!"
 
I don't think you can. The filter is limited to one type although as you
probably know you can at least use wildcards.
You will have to leave the filter blank to include everything and test for
the file extension yourself in the fired event.
 

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

Similar Threads


Back
Top