>// using System.Security.AccessControl; >// using System.Security.Principal; > >var fileInfo = new FileInfo (@"C:\Windows\System32\capiprovider.dll"); >var fileAccessControl = fileInfo.GetAccessControl(); >var identityReference = fileAccessControl.GetOwner(typeof(NTAccount)); >// Contains file owner >// identityReference.Value >Can I ask you about the use of the Var type there? I know that was a new feature in C# 3.0 but thought it was for occasions when the type is unknown at compile time. Given your expertise I am sure there is a good reason.