コード例 #1
0
 internal void GetSecurityByName(out uint pFileAttributes, ref byte[] pSecurityDescriptor)
 {
     pFileAttributes = (uint)Info.Attributes;
     if (pSecurityDescriptor != null && Info.Exists)
     {
         pSecurityDescriptor = Info.GetAccessControl().GetSecurityDescriptorBinaryForm();
     }
 }