How can I listen to changes in a file/directory in the windows file system?

Platform: WinForms|Category: General IO

Use FileSystemWatcher to watch for changes in a specified directory. You can watch for changes in files and subdirectories of the specified directory. The component can watch files on a local computer, a network drive, or a remote computer.