#id #machine #hardware #hwid #println #ok #err

ohwid

Get the hardware ID of the current machine

1 unstable release

0.1.2 Mar 20, 2024
0.1.1 Mar 20, 2024
0.1.0 Mar 20, 2024

#387 in Hardware support

Download history 227/week @ 2024-03-16 42/week @ 2024-03-23 57/week @ 2024-03-30 12/week @ 2024-04-06

133 downloads per month

Custom license

3KB

ohwid

Allows you to get hardware ID of the current machine.

Supported systems

  • Windows
  • Linux

Install

cargo add ohwid

or

[dependencies]
ohwid = "0.1.2"

Example

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

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

Dependencies

~0–9.5MB
~52K SLoC