Esempio n. 1
0
 /// <summary>Gets the <see cref="RawAcl"/> equivalent of an ACL.</summary>
 /// <param name="pAcl">The pointer to an ACL structure.</param>
 /// <returns>The <see cref="RawAcl"/> instance.</returns>
 public static RawAcl RawAclFromPtr(PACL pAcl) => new RawAcl(((IntPtr)pAcl).ToArray <byte>((int)pAcl.Length()), 0);
Esempio n. 2
0
 public static uint GetAclSize(PACL pAcl) => pAcl.Length();