The FileSystemWatcher class in the System.IO namespace can be used to monitor changes to the file system. It watches a file or a directory in your system for changes and triggers events when changes occur.
استفاده از FileSystemWatcher برای اطلاع یافتن از تغییرات فایل ها در دایرکتوری
301, MovedPermanently