Documentation ¶
Overview ¶
GetHardInfo
Index ¶
- func GetBiosInfo() string
- func GetCpuInfo() string
- func GetDiskInfo() (infos []diskusage)
- func GetIntfs() []intfInfo
- func GetMemory() string
- func GetMotherboardInfo() string
- func GetStartTime() string
- func GetSystemVersion() string
- func GetUserName() string
- func MachineCodeDecrypt(mc string) (key, mac string, ok bool)
- func MachineCodeEncrypt(keySupplementary string) string
- func PrintHardInfo()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCpuInfo ¶
func GetCpuInfo() string
CPU信息 简单的获取方法fmt.Sprintf("Num:%d Arch:%s\n", runtime.NumCPU(), runtime.GOARCH)
func MachineCodeDecrypt ¶
功能:机器码解码 输入:机器码 输出:密钥,密文,密文的crc校验结果
func MachineCodeEncrypt ¶
功能:用网卡信息和硬盘信息生成机器码,并输出机器码 输入:密钥补充码 输出:机器码
func PrintHardInfo ¶
func PrintHardInfo()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.