Function system_data::read_doc

source ·
pub fn read_doc()
Expand description

A package for collect information about OS, CPU and Disk Drive of a windows operating system. You can collect disk information from any device with just a function call. you will be able to collect the OS Information, CPU Information and Disk Information information of a windows system with this package.

§Functions

cores() for collect the cores information of a CPU.

§Example

We are printing here the total capacity information about the disk drive of a windows system.

src/main.rs
--------------
 
pub mod cpu_info;
pub use cpu_info as CpuInfo;
 
fn main() {
  let cores = CpuInfo::cores();
  println!("CPU Cores: {}",  cores);
}