Method | Description | |
---|---|---|
SetPrivilege ( string privilege, bool enabled ) : bool | ||
SetPrivileges ( bool Enabled ) : void |
Method | Description | |
---|---|---|
AdjustTokenPrivileges ( |
||
CloseHandle ( |
||
LookupPrivilegeValue ( string host, string name, long &pluid ) : bool | ||
OpenProcessToken ( |
public static SetPrivilege ( string privilege, bool enabled ) : bool | ||
privilege | string | |
enabled | bool | |
return | bool |
public static SetPrivileges ( bool Enabled ) : void | ||
Enabled | bool | |
return | void |