I hope this may help you out...
--------------------------------
using System.Data;
using Microsoft.Win32;
private void Form1_Load(object sender, System.EventArgs e)
{
try
{
label18.Text = SystemInformation.PrimaryMonitorSize.ToString();
label2.Text = System.Environment.SystemDirectory;
label4.Text = System.Environment.MachineName;
label6.Text = System.Environment.WorkingSet.ToString();
int q = System.Environment.TickCount;
int w = (q/1000)/60;
label8.Text = w.ToString() + " Minute(s)";
label10.Text = System.Environment.OSVersion.ToString();
label12.Text = System.Environment.Version.ToString();
label14.Text = System.Environment.UserName;
label16.Text = System.Environment.UserDomainName;
RegistryKey Rkey = Registry.LocalMachine;
Rkey = Rkey.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0");
label20.Text = (string)Rkey.GetValue("ProcessorNameString");
}
catch (Exception EX)
{
MessageBox.Show("The Following ERROR Occur ..." + EX.Message.ToString());
}
}
---------------------------------------------------------------------
Did you get the correct result?