Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.