public void AddPrivilege(TokenPrivilegeValue name, PrivilegeAttributes attributes) { Luid luid = new Luid((uint)name, 0); AddPrivilege(luid, attributes); }
/// <summary> /// Constructor /// </summary> /// <param name="luid">The privilege LUID</param> /// <param name="attribute">The privilege attributes</param> public TokenPrivilege(Luid luid, PrivilegeAttributes attribute) { Luid = luid; Attributes = attribute; }
public static extern NtStatus NtAllocateLocallyUniqueId(out Luid Luid);