views:

13

answers:

1

There's a legacy tool that tracks the number of specific document types, date created, last updated by, etc... so reports can be run on the different types of items created such as videos, research docs, etc... unfortunately it relies on end users to enter this information manually into a webform. - I believe there must be a better way of doing it such as grabbing the information directly from the repository when the items are created, updated, deleted, etc... anyone have an idea on what the best approach would be using C#? I know about FileSystemWatcher, but wondering if there is something else out there I'm missing.

Thanks

A: 

You can read file properties simply. Try this links http://msdn2.microsoft.com/en-us/library/system.io.file.getcreationtime.aspx http://msdn2.microsoft.com/en-us/library/system.io.file.getlastwritetime.aspx

Jahangir Zinedine