The FileSystemWatcher component keeps an eye on part of the file system and raises events to let your program know if something changes. For example, it can notify your program if a file is created in a particular directory.
For more information on the FileSystemWatcher component, see Chapter 29 and Appendix T.