Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Monitor Folder Activity

0.00/5 (No votes)
16 Mar 2003 1  
Monitor Folder Activity in C#

Introduction

First of all credit to the original VB.net code goes to it's original developer, Jayesh Jain, who's code I used VB.net code I used to model my sample in csharp. My reason for creating this small sample in C# was due to the fact that lots of ppl were looking for info on how to implement delegates using CSharp and the FilesystemWatcher.

This application basically check what modifications happen inside a directory and list the events that are raised by the File System in handling those ocurrences. It shows you how to implement delegates and call the method you wish to send the argumennts too. i.e your function, wich will basically respond with whatever you want it to do when the event is raised.

 

 

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here