Click here to Skip to main content
15,889,682 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to build a a Console application using c# to to keep track of files added and deleted daily from a shared path , Can anyone help me in deciding the logic behind it.
Posted
Comments
BillWoodruff 6-Jan-15 14:07pm    
Start by researching "C# FileSystemWatcher" here on CodeProject, and on Google.

1 solution

As Bill suggested, there is a class dedicated to it: FileSystemWatcher[^].

Here is a collection of links to CP articels:
Advanced FileSystemWatcher[^]
FileSystemWatcher - Pure Chaos (Part 1 of 2)[^]
C#: Application to Watch a File or Directory using FileSystem Watcher[^]
Enhanced FileSystemWatcher[^]

More you'll find by using SearchBox on the right-top corner of this page.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 6-Jan-15 19:41pm    
Sure, a 5.
—SA
Maciej Los 7-Jan-15 2:54am    
Thank you, Sergey ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900