Expand description
§sysaudit
Windows System & Software Auditor library.
Provides read-only access to:
- System information (OS, CPU, network interfaces)
- Installed software (from Windows Registry)
- Industrial software detection (Citect, ABB, Rockwell, etc.)
- Windows Updates (via WMI)
§Example
use sysaudit::{SystemInfo, SoftwareScanner};
fn main() -> Result<(), sysaudit::Error> {
let system = SystemInfo::collect()?;
println!("Computer: {}", system.computer_name);
let software = SoftwareScanner::new().scan()?;
for sw in software {
println!("{} v{}", sw.name, sw.version.as_deref().unwrap_or("?"));
}
Ok(())
}Re-exports§
pub use error::Error;pub use industrial::IndustrialScanner;pub use industrial::IndustrialSoftware;pub use industrial::Vendor;pub use software::RegistrySource;pub use software::Software;pub use software::SoftwareScanner;pub use system::NetworkInterface;pub use system::SystemInfo;pub use updates::WindowsUpdate;