Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FileSystemWatcher fwatcher = new FileSystemWatcher();
- fwatcher.Path = "blah"
- fwatcher.NotifyFilter=NotifyFilters.LastAccess | NotifyFilters.LastWrite | NotifyFilters.FileName;
- fwatcher.Created += new FileSystemEventHandler(FileCreated);
- watcher.Created += new FileSystemEventHandler(OnChanged);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement