Cryptographic-API-Services / cas-dotnet-sdk

A Nuget package that provides a implementation of the RustCrypto suite of cryptographic algorithms.
Apache License 2.0
0 stars 0 forks source link

Create CPU Profile #69

Open WingZer0o opened 7 months ago

WingZer0o commented 7 months ago

When loading a user's machine with the API token we want to get grab their machine information.

MAC Address IP Address Machine Agent (Windows / MacOX / Linux etc).

WingZer0o commented 4 months ago

We can use the Rust sysinfo crate for this and create an FFI layer.

https://crates.io/crates/sysinfo

MAC Address

Machine Agent ETC.

    println!("System name:             {:?}", System::name());
    println!("System kernel version:   {:?}", System::kernel_version());
    println!("System OS version:       {:?}", System::os_version());
    println!("System host name:        {:?}", System::host_name());