vb.net - Find file creator in vb? -


is there way creator of file using vb8? can't seem find work. need find creator of each file in directory of hundreds of files.

you can try file owner

dim fs filesecurity = file.getaccesscontrol("somefilename.ext") dim sid identityreference = fs.getowner(gettype(securityidentifier)) dim ntaccount identityreference = sid.translate(gettype(ntaccount)) dim owner string = ntaccount.tostring() 

Comments

Popular posts from this blog

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -