hardware-id 0.3.0

Access Hardware ID information on Windows, macOS and Linux platforms
Documentation
1
2
3
4
5
6
7
8
extern crate hwid;

use hwid::get_id;

fn main() {
    let hwid = get_id().unwrap();
    println!("{}", hwid);
}