2
Reply

Problem using filesystemwatcher

simmonscarol

simmonscarol

Apr 7 2004 6:23 PM
2.1k
I'm trying to use filesystemwatcher to monitor a directory on another server. I have tried to use \\server\directory for the path but keep getting an error the directory is invalid. Is there something special you have to do when monitoring a file on another computer ? Can someone give me an example ? Thanks. Here is what my code is currently doing this.m_fileWatch.Path = "\\testserver\c$"; When I set this to a local directory, everything works fine....

Answers (2)