Skip to main content

Crate buac

Crate buac 

Source

Enums§

Error
Errors returned by buac operations.

Functions§

elevate
Automatically restarts the current process with elevated privileges and terminates the non-elevated parent process immediately (std::process::exit(0)).
execute
Executes a target binary elevated as Administrator using the CMSTPLUA COM elevation moniker.
is_elevated
Checks whether the current process token is running with elevated (Administrator) privileges.
spawn_elevated
Spawns an elevated child instance of the current executable with original arguments.