コード例 #1
0
 public static AdjustPrivilegeResult RemovePrivilege(this AccessTokenHandle accessTokenHandle, Privilege privilege)
 {
     return(Privileges.RemovePrivilege(accessTokenHandle, privilege));
 }
コード例 #2
0
 public static PrivilegeAttributes GetPrivilegeAttributes(this Process process, Privilege privilege)
 {
     return(Privileges.GetPrivilegeAttributes(privilege, GetPrivileges(process)));
 }
コード例 #3
0
 public static PrivilegeAndAttributesCollection GetPrivileges(this AccessTokenHandle accessTokenHandle)
 {
     return(Privileges.GetPrivileges(accessTokenHandle));
 }
コード例 #4
0
 public static PrivilegeAttributes GetPrivilegeAttributes(this AccessTokenHandle accessTokenHandle, Privilege privilege)
 {
     return(Privileges.GetPrivilegeAttributes(privilege, GetPrivileges(accessTokenHandle)));
 }