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.
 
Back
Top