Method | Description | |
---|---|---|
AddShieldToButton ( |
Add a shield icon to a button
|
|
IsAdmin ( ) : bool |
Checks if the process is elevated
|
|
IsUacEnabled ( ) : bool | ||
IsVistaOrHigher ( ) : bool | ||
RestartElevated ( string arguments ) : void |
Restart the current process with administrator credentials
|
Method | Description | |
---|---|---|
GetTokenInformation ( |
||
OpenProcessToken ( |
||
SendMessage ( |
public static AddShieldToButton ( |
||
b | The button | |
return | void |
public static RestartElevated ( string arguments ) : void | ||
arguments | string | |
return | void |