Introduction - If you have any usage issues, please Google them yourself
In VS2005 in,. Net has a ileSystemWatcher controls inside that is used to monitor file changes, it will notify the document to create, modify, delete news. Online, one of many examples, but in the practical application of the time and found that there are still some issues to be addressed, I make a simple demo, to solve the following problem: 1. Many times for the trigger (via a timer to solve) 2. capable of monitoring network path (serviceProcessInstaller the Account property is set to NetworkService) 3. through the windows service to achieve, resulting in easy installation files Registration Services
Packet : 15883861filewatchservicetest.rar filelist
FileWatchServiceTest.sln
FileWatchServiceTest.suo
FileWatchServiceTest\AdvancedFileSystemWatcher.cs
FileWatchServiceTest\FileWatchServiceTest.csproj
FileWatchServiceTest\Installer1.cs
FileWatchServiceTest\Installer1.Designer.cs
FileWatchServiceTest\Installer1.resx
FileWatchServiceTest\obj\FileWatchServiceTest.csproj.FileList.txt
FileWatchServiceTest\Program.cs
FileWatchServiceTest\Properties\AssemblyInfo.cs
FileWatchServiceTest\Service1.cs
FileWatchServiceTest\Service1.Designer.cs
FileWatchSetupTest\FileWatchSetupTest.vdproj
FileWatchServiceTest\bin\Debug
FileWatchServiceTest\obj\Debug
FileWatchServiceTest\bin
FileWatchServiceTest\obj
FileWatchServiceTest\Properties
FileWatchSetupTest\Debug
FileWatchSetupTest\Release
FileWatchServiceTest
FileWatchSetupTest