Downloads:
Features:
- Show hardware details
C# Source Code:
- Main.cs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
using Microsoft.Win32; using System; using System.Windows.Forms; namespace Hardware_Information { public partial class Main : Form { public Main() { InitializeComponent(); } private void Main_Load(object sender, EventArgs e) { #region Hardware info try { txtMachineName.Text = System.Environment.MachineName; txtMonitorSize.Text = SystemInformation.PrimaryMonitorSize.ToString(); txtSystemLocation.Text = System.Environment.SystemDirectory; txtMMTTPC.Text = System.Environment.WorkingSet.ToString(); txtProcessors.Text = Environment.ProcessorCount.ToString() + " Processors "; RegistryKey Rkey = Registry.LocalMachine; Rkey = Rkey.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0"); txtCPUModel.Text = (string)Rkey.GetValue("ProcessorNameString"); } catch { MessageBox.Show("Couldn't retrieve Hardware info !", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning); } #endregion } } } |
Screenshots:
Similar Apps:
Unknown
Contact: