//Retrieve User Name string userName = SystemInformation.UserName; //Retrieve Domain Name string domainName = SystemInformation.UserDomainName; //Computer Name string computerName = SystemInformation.ComputerName; //Retrieve the System Booted Mode string SystemBootMode = SystemInformation.BootMode.ToString(); //Network is connected or Not // true means connected //false means Notconnected bool IsNetworkConnected = SystemInformation.Network;