Checking what user has accessed a file (.Net)
Posted: 2008-03-31 05:15am
For a quick project I'm working on in VB.Net I want to track when users have accessed a file. Example:
testfile.txt exists on a drive. When a user opens or edits the file, I wish to record what time and who edited it.
I've been able to use the FileSystemWatcher to determine when the file is edited, etc, but I'm trying to work out how to determine what user accessed it.
As far as programming goes its only really a hobby for me so any help would be much appreciated.
testfile.txt exists on a drive. When a user opens or edits the file, I wish to record what time and who edited it.
I've been able to use the FileSystemWatcher to determine when the file is edited, etc, but I'm trying to work out how to determine what user accessed it.
As far as programming goes its only really a hobby for me so any help would be much appreciated.