C#/WPF FileSystemWatcher on every extension on every path
Posted
by BlueMan
on Stack Overflow
See other posts from Stack Overflow
or by BlueMan
Published on 2010-04-24T12:26:25Z
Indexed on
2010/04/24
12:33 UTC
Read the original article
Hit count: 247
I need FileSystemWatcher, that can observing same specific paths, and specific extensions. But the paths could by dozens, hundreds or maybe thousand (hope not :P), the same with extensions. The paths and ext are added by user.
Creating hundreds of FileSystemWatcher it's not good idea, isn't it?
So - how to do it? Is it possible to watch/observing every device (HDDs, SD flash, pendrives, etc.)? Will it be efficient? I don't think so... . Every changing Windows log file, scanning file by antyvirus program - it could realy slow down my program with SystemWatcher :(
© Stack Overflow or respective owner