Click here to Skip to main content
Licence 
First Posted 16 Mar 2003
Views 50,082
Bookmarked 16 times

Monitor Folder Activity

By | 16 Mar 2003 | Article
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

About the Author

Gerald Nelson

Web Developer

United States United States

Member

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

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralSource files missing PinmemberAxelM20:34 17 Mar '03  
GeneralRe: And the article too... PinmemberDaniel Turini1:46 18 Mar '03  
GeneralRe: And the article too... PinmemberGerald Nelson3:28 18 Mar '03  
GeneralRe: And the article too... PinmemberChopper3:58 18 Mar '03  
GeneralRe: And the article too... Pinmemberleppie9:52 18 Mar '03  
GeneralRe: And the article too... PinmemberGerald Nelson11:00 19 Mar '03  
GeneralRe: And the article too... PinmemberGerald Nelson11:01 19 Mar '03  
GeneralRe: And the article too... Pinmemberpicasso217:33 31 Aug '05  

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.

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