public MainForm() { InitializeComponent(); textBox1.Text = Resources.MainForm_Loading; textBox1.Text = InfoUtil.GetOsInformation(); }
private void button5_Click(object sender, EventArgs e) { textBox1.Text = Resources.MainForm_Loading; textBox1.Text = InfoUtil.GetRamInformation(); }
public static string GetCpuInformation() { return(InfoUtil.GetDeviceInformation("Win32_Processor")); }
public static string GetOsInformation() { return(InfoUtil.GetDeviceInformation("Win32_OperatingSystem")); }
public static string GetRamInformation() { return(InfoUtil.GetDeviceInformation("Win32_PhysicalMemory")); }
public static string GetDiskInformation() { return(InfoUtil.GetDeviceInformation("Win32_DiskDrive")); }
public static string GetGpuInformation() { return(InfoUtil.GetDeviceInformation("Win32_VideoController")); }