/ Published in: C#
this program view some of OS information try it you will not lose thing.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
static void Main(string[] args) { Console.Out.WriteLine("OS Information"); Console.Out.WriteLine("The Machine Name => "+Environment.MachineName); Console.Out.WriteLine("The OS Version => "+Environment.OSVersion); Console.Out.WriteLine("The User Domain Name => "+Environment.UserDomainName); Console.Out.WriteLine("The Current UserName => "+Environment.UserName); Console.ReadKey(); }