Method | Description | |
---|---|---|
Enable ( ) : void | ||
Privilege ( string privilegeName ) : Microsoft.Win32 | ||
Revert ( ) : void | ||
RunWithPrivilege ( string privilege, bool enabled, PrivilegedHelper helper ) : void |
Method | Description | |
---|---|---|
LuidFromPrivilege ( string privilege ) : Interop.Advapi32.LUID | ||
Reset ( ) : void | ||
ToggleState ( bool enable ) : void |
public Privilege ( string privilegeName ) : Microsoft.Win32 | ||
privilegeName | string | |
return | Microsoft.Win32 |
public static RunWithPrivilege ( string privilege, bool enabled, PrivilegedHelper helper ) : void | ||
privilege | string | |
enabled | bool | |
helper | PrivilegedHelper | |
return | void |