Skip to content
This repository was archived by the owner on Sep 3, 2018. It is now read-only.

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages