FileSystemWatcher Question

  • Thread starter Thread starter Matt
  • Start date Start date
M

Matt

Is their an easy way to have the FileSystemWatcher object catch files that
may already be in a watched directory? I have a situation where files could
be in the directory before the service starts.

Thanks,

Matt
 
Generate a files list before the service ends. When the service starts you
can compare the files in the directory to this files list.
 

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

Back
Top