Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
_fileSystemWatcher = new FileSystemWatcher
{
Path = @"C:\My Project\Apps\Analysis",
NotifyFilter = NotifyFilters.LastWrite,
Filter = "*.*"
};
_fileSystemWatcher.EnableRaisingEvents = true;
_fileSystemWatcher.Changed += OnDirectoryChange;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment