Use the .NET FileSystemWatcher object to monitor directory changes in C#

Source: Zach Smith

Favorite

Free registration required

There are many instances that require systems to perform certain tasks when files or directories are created or modified. One of the more interesting objects included in the Microsoft .NET Framework class library is the System.IO.FileSystemWatcher. This object allows you to be notified when certain events occur in a directory, such as file creation, deletion, or modification. Zach Smith explains how to use the FileSystemWatcher object and demonstrates it in a sample application.

This download is also available as a TechRepublic article.

Format:Other Download Size:75.00
Version:1.0 Date:Mar 2007
Price:0.00 Downloads:3136