Using the FileSystemWatcher  (Originally published: 10 June
2007)  The FileSystemWatcher (FSW) component available in .NET
is being used more and more every day.   Unfortunately FSW does
not work quite the way you would expect.  This article will
discuss how to use the FSW in a .NET application.  An additional
problem with using FSW is performing complex tasks without
impacting the performance of the system overall.   This article
will discuss a basic approach to working with FSW while
maintaining good performance.  What Is the FileSystemWatcher?
Before discussing how to use the FSW it is important to
understand what it is and what it is used for. The FSW is a
component used to monitor the file system for file or directory
changes. The FSW can be used to receive notifications when files
or directories are created, moved, deleted or updated. Although
it is generally only useful in Windows applications it can be
used in any type of application including web applications.
Under the hood the FSW relies on the u