Who changed that file?

Writing a file watcher program at the moment but I’ve hit a problem, I can’t seem to discover who changed the file last. I’m sure Windows keeps the information but I can’t find it. Ok, so the users can turn on file auditing so I guess it’s no big deal but I can’t help thinking I’m just missing something. The other bit of information I was trying to locate is the ‘File Version’ of a DLL. After following seemingly countless dead ends looking at FileInfo, FileAttributes, etc I discovered that that this information is…under System.Diagnostics!  Obvious really!?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s