Click here to Skip to main content
16,004,647 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to use Tamma Koujan's SmartWatcher Service and can get it to work watching a local folder on the computer it is installed on, but I can't get it to fire when I try to watch a network UNC. Is there a best way to define the WatchFolder parameter to get a UNC to be recognized and working with FileSystemWatcher in this neat service application? 


What I have tried:

I have tried creating a mapped drive in the SmartWatcherService.cs, but it fails to recognize the folder. I get no install errors when I use \\server name\watcherfolder\, but never get any folder change condition captured.
Posted
Updated 13-Sep-18 8:03am

1 solution

Don't post this under Quick Answers - if you got the code from an article, then there is a "Add a Comment or Question" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.

I assume you mean this one: Smart Watcher[^]
 
Share this answer
 
Comments
Member 13983547 13-Sep-18 14:38pm    
Thanks for the clarification. I just started using this site.
OriginalGriff 14-Sep-18 1:37am    
You're welcome!
The problem is that there are 13,695,063 members here, all of whom can write articles and tips - so unless to get your message directly to them, the chances are they will not see it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900