get_hwid

Function get_hwid 

Source
pub fn get_hwid() -> Result<String>
Expand description

Get the hardware ID of the current machine

ยงExample

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