hostuuid

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUUID

func GetUUID() string

GetUUID - Get a system specific UUID

func UUIDFromMAC

func UUIDFromMAC() string

UUIDFromMAC - Generate a UUID based on the machine's MAC addresses, this is generally used as a last resort to fingerprint the host machine. It creates a uuid by hashing the MAC addresses of all network interfaces and using the first 16 bytes of the hash as the UUID. This should work so long as network interfaces are not added or removed, since its physical addresses this should be uncommon; an except would be machines with USB WiFi/Ethernet or something.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL