ohwid 0.1.1

Get the hardware ID of the current machine
Documentation
ohwid-0.1.1 has been yanked.

ohwid

Allows you to get hardware ID of the current machine.

Supported systems

  • Windows
  • Linux

Install

cargo add ohwid

or

[dependencies]

winreg = "0.1.0"

Example

use ohwid::get_hwid;
let hwid = get_hwid();

match hwid {
  Ok(hwid) => println!("HWID: {}", hwid),
  Err(e) => println!("Failed to get HWID: {}", e),
}