How can i show system configration using C#?

Posted by Sf_Hussain786 under C# on 3/15/2012 | Points: 10 | Views : 943 | Status : [Member] | Replies : 4
Hi All,

I want to ask you how to show complete system configuration with using C# project ???

Regards,
sf_hussain786

sf_hussain786


Responses

Posted by: Denny on: 3/15/2012 [Member] Starter | Points: 25

Up
0
Down
hi,

using System;
Console.WriteLine(Environment.OsVersion);

Regards,
Denny Kurian

Sf_Hussain786, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/15/2012 [Member] Silver | Points: 25

Up
0
Down
Hi sf_hussain786,
The following link may help you.
http://www.codeproject.com/Articles/8241/Get-System-Info-using-C

Thanks,
Sanjay

Sf_Hussain786, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/15/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi

You Can Find The Current system name
Which Mean The user using system

Use this Code

protected void Button1_Click(object sender, EventArgs e)
{
string opl = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString();
Label1.Text = opl.ToString();

}

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sf_Hussain786, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hmanjarawala on: 3/15/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,
follow this URL:
http://www.codeproject.com/Articles/8241/Get-System-Info-using-C

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Sf_Hussain786, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response