Click here to Skip to main content
11,565,382 members (39,277 online)
Click here to Skip to main content

Monitor Folder Activity

, 16 Mar 2003 54.6K 755 17
Rate this:
Please Sign up or sign in to vote.
Monitor Folder Activity in C#
<!-- Article Starts - DO NOT ADD HTML/BODY START TAGS--><!-- Download Links --> <!-- Add the rest of your HTML here -->

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

Share

About the Author

Gerald Nelson
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 | ;)

You may also be interested in...

Comments and Discussions

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

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

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

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150624.2 | Last Updated 17 Mar 2003
Article Copyright 2003 by Gerald Nelson
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid