System.IO.FileSystemWatcher public class FileSystemWatcher : Component, ISupportInitialize Documentation public bool EnableRaisingEvents { get; set; } public string Filter { get; set; } public bool IncludeSubdirectories { get; set; } public int InternalBufferSize { get; set; } public NotifyFilters NotifyFilter { get; set; } public string Path { get; set; } public ISynchronizeInvoke SynchronizingObject { get; set; } public event FileSystemEventHandler Changed public event FileSystemEventHandler Created public event FileSystemEventHandler Deleted public event ErrorEventHandler Error public event RenamedEventHandler Renamed public FileSystemWatcher() public FileSystemWatcher(string path) public FileSystemWatcher(string path, string filter) public void BeginInit() public void EndInit() protected void OnChanged(FileSystemEventArgs e) protected void OnCreated(FileSystemEventArgs e) protected void OnDeleted(FileSystemEventArgs e) protected void OnError(ErrorEventArgs e) protected void OnRenamed(RenamedEventArgs e) public WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType) public WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, int timeout)