csharp get file author

Code Example - csharp get file author

                
                        File.GetAccessControl(path).GetOwner(typeof(System.Security.Principal.NTAccount))
// or 
File.GetAccessControl(path).GetGroup(typeof(System.Security.Principal.NTAccount)).Value