Please Help!!

  • Thread starter Thread starter Vai2000
  • Start date Start date
V

Vai2000

Hi All, I am writing a winsvc which monitors file changes on two or more
network paths...How can I accomplish this using the FileSystemWatcher?
I know the above can be applied to Sub Directories etc...but my requirement
is for multiple Paths on Network which aren't technically Sub Dirs

TIA
 
Vai,

In this case, why not just have more than one instance of the
FileSystemWatcher class, each looking at a separate directory?

Hope this helps.
 
Hi !

Vai2000 said:
Hi All, I am writing a winsvc which monitors file changes on two or more
network paths...How can I accomplish this using the FileSystemWatcher?

Use a distinct FileSystemWatcher for each network path...
 

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