#windows

get_wmi_serial_number

wmi get bios serial number

2 stable releases

1.0.1 Jun 2, 2024

#194 in Windows APIs

23 downloads per month

MIT/Apache

3KB

get_wmi_serial_number

Supported platforms: Any version of Windows that supports WMIC.

Example

use get_wmi_serial_number;

fn main() {
    let serial_number = get_wmi_serial_number::get_bios_serial_number().unwrap();
    println!("{}", serial_number);
}

License

get_wmi_serial_number is licensed under both MIT and Apache 2.0

Dependencies

~0.3–24MB
~333K SLoC