Skip to content
This repository has been archived by the owner on Sep 3, 2018. It is now read-only.
/ IsWadmin Public archive

Check if the process is running as administrator on Windows

License

Notifications You must be signed in to change notification settings

dlion/IsWadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IsWadmin Build Status

Check if the process is running as administrator on Windows

How to use it

package main

import (
	"fmt"
	. "github.com/dlion/IsWadmin"
)

func main() {
	if IsWadmin() {
		fmt.Println("This process is running as administrator on Windows")
	}
}

Test

go test

Author

Domenico Luciani

https://domenicoluciani.com

License

MIT

About

Check if the process is running as administrator on Windows

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages