Pass UNC path with username and password to FileSystemWatcher

shuandra1

New member
Joined
Dec 1, 2004
Messages
1
Programming Experience
1-3
Hi,

I'm trying to use FileSystemWatcher to monitor multiple remote drives activities. I'm going to do this by creating multiple instances of the FileSystemWatcher and pass each drive path to them. Currently I'm successful in doing that but I have to actually map each drive to a drive letter and pass it to the FileSystemWatcher. I don't want to map each drive that I'm monitoring. Does anybody know how to pass a UNC path to the FileSystemWatcher? The network drive I'm trying to connect to requires username and password. Thanks for the help
 
Top Bottom