Export (0) Print
Expand All

Reacting to File System Events 

Using the FileSystemWatcher component and language features in Visual Studio or the .NET Framework SDK, you can easily monitor actions occurring within directories and files on your system or on any computer to which you have network access.

In This Section

Introduction to Monitoring File System Events

Provides basic information about file- and directory-watching features in Visual Studio and the .NET Framework SDK.

How to: Create FileSystemWatcher Component Instances

Gives directions for creating instances of FileSystemWatcher components in your projects.

How to: Configure FileSystemWatcher Component Instances

Gives directions for setting properties to determine the behavior of FileSystemWatcher components.

How to: Create Handlers for File System Events

Provides recommendations for creating event handlers that will automatically take action when file system events are raised.

Considerations for File Changes on High-Volume Systems

Provides information about controlling the flow of file system events on systems with high activity.

How to: Wait Until Specified File System Events Occur

Gives directions for using the WaitForChanged method to monitor directories.

Walkthrough: Reacting to File System Events

Provides step-by-step instructions for how to respond to events with the FileSystemWatcher component.

Troubleshooting FileSystemWatcher Components

Explains how to remedy some common problems.

Related Sections

Programming with Components

Presents a high-level overview of component programming and authoring.

FileSystemWatcher

Describes the major features of the FileSystemWatcher class.

Default Project Templates in Visual Studio

Describes the projects types used in this chapter and how to choose between them.

Deploying Applications and Components

Lists the major deployment pages and the information they contain.

Community Additions

ADD
Show:
© 2014 Microsoft