Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Elevate ¶
func Elevate()
Elevate tells windows to elevate the current application. Will relaunch this app with the required perms make sure to check IsAdmin before running any app logic to be sure you don't continue executing
func IsElevated ¶
func IsElevated() bool
IsElevated checks whether the application has elevated permissions or not. The user shouldn't be able to access the path if they are not elevated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.