using System; class MainClass { public static void Main() { Console.WriteLine("Machine Name: {0}", Environment.MachineName); Console.WriteLine("Version: {0}", Environment.Version); } }
Machine Name: JAVA2S Version: 2.0.50727.42