c# get file author code example
Example: c# get file author
File.GetAccessControl(path).GetOwner(typeof(System.Security.Principal.NTAccount))
// or
File.GetAccessControl(path).GetGroup(typeof(System.Security.Principal.NTAccount)).Value
File.GetAccessControl(path).GetOwner(typeof(System.Security.Principal.NTAccount))
// or
File.GetAccessControl(path).GetGroup(typeof(System.Security.Principal.NTAccount)).Value