You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Aaron Klotz 7d8feb2784 hostinfo: change Windows implementation to directly query version information using API and registry
We replace the cmd.exe invocation with RtlGetNtVersionNumbers for the first
three fields. On Windows 10+, we query for the fourth field which is available
via the registry.

The fourth field is not really documented anywhere; Firefox has been querying
it successfully since Windows 10 was released, so we can be pretty confident in
its longevity at this point.

Fixes https://github.com/tailscale/tailscale/issues/1478

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
3 years ago
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
cloner cmd/cloner: mangle "go:generate" in cloner.go 3 years ago
derper cmd/derper: enable HSTS when serving over HTTPS. 3 years ago
derpprobe derp: use new node key type. 3 years ago
hello all: adapt to opaque netaddr types 4 years ago
mkpkg cmd/mkpkg: allow zero files in a package. 4 years ago
speedtest cmd: upgrade to ffcli v3 3 years ago
tailscale hostinfo: change Windows implementation to directly query version information using API and registry 3 years ago
tailscaled go.mod: bump inet.af/netstack 3 years ago
testcontrol cmd/testcontrol: add test control server 3 years ago
tsshd all: gofmt with Go 1.17 3 years ago