-
Determining a file owner
I have a mixed bag of files on my server and I need to know who created them.
Is there any way in .Net to work out who created the file? As in a network name or mac address or anything that will identify the creator?
I would guess this stuff is stored in the NTFS (windows 2k btw) but I need a .Net class that can access this.
System.IO.FileInfo doesn't seem to go far enough.
-
Unfortunately there is no .NET class to access the NTFS stream or the info specific to it.
-
-
The closest to any insite that I have seen into how to dive into the NTFS stream is in C++ and even that was hard to come by. Unless you mean Office Documents specifically which can be accessed via an OLE object of some sort.
So I second your 'ACK!' but if you find anything I'd love to hear it too.
-
Interesting
The Windows 2000 Resource Kit has a command line utility called
DiskUse
that produces output like :-
DiskUse Output from 09/04/2003 at 12:17:30
------------------------------------------
User: AndersonMr
SpaceUsed: 188637598
g:\DSCF0001.JPG
737461 : 06/22/2003 :
g:\DSCF0002.JPG
732655 : 06/22/2003 :
Which lists all files ** CREATED ** by network log on of AndersonMr
Its not open source and the command line options are limited but its somewhere to start.