2
Answers

Problem using filesystemwatcher

simmonscarol

simmonscarol

20y
2.1k
1
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)