$ 0 0 System.Windows.Forms.SystemInformation.ComputerName.ToString(); or System.Environment.MachineName;