Click here to Skip to main content
15,880,891 members
Articles / Programming Languages / C#
Article

Monitor Folder Activity

Rate me:
Please Sign up or sign in to vote.
1.05/5 (20 votes)
16 Mar 2003 62.4K   914   17   8
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


Written By
Web Developer
United States United States
Hi all, I have been developing software for 10 years, experienced in COBOL, VB, Pascal, C, DBase, Foxpro, ACCESS, VBA, ASP, COM, JavaScript, Java and Csharp. I hold a BSC and I'm a MCDBA. Currently do most work in Databases such as SQL Server and Oracle on MS/Linux/Sun Solaris platforms.

You can send me an email to gerald@dotnetcompany.com, like sharing tips and the like, feel free to contact me at any time. Also if you like that domain it's currently for sale Wink | ;)

Comments and Discussions

 
GeneralSource files missing Pin
AxelM17-Mar-03 20:34
AxelM17-Mar-03 20:34 
GeneralRe: And the article too... Pin
Daniel Turini18-Mar-03 1:46
Daniel Turini18-Mar-03 1:46 
GeneralRe: And the article too... Pin
Gerald Nelson18-Mar-03 3:28
Gerald Nelson18-Mar-03 3:28 
GeneralRe: And the article too... Pin
Chopper18-Mar-03 3:58
Chopper18-Mar-03 3:58 
GeneralRe: And the article too... Pin
leppie18-Mar-03 9:52
leppie18-Mar-03 9:52 
GeneralRe: And the article too... Pin
Gerald Nelson19-Mar-03 11:00
Gerald Nelson19-Mar-03 11:00 
GeneralRe: And the article too... Pin
Gerald Nelson19-Mar-03 11:01
Gerald Nelson19-Mar-03 11:01 
GeneralRe: And the article too... Pin
picasso231-Aug-05 17:33
picasso231-Aug-05 17:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.