Example #1
0
 public RuntimeInfo()
 {
     ComputerUpTime  = DateFormatter.ToReadableString(GetComputerUpTime());
     ComputerName    = Environment.MachineName;
     OSInfo          = Environment.OSVersion.VersionString;
     TotalMemorySize = ByteFormatter.Format(GetTotalMemorySize());
     InstallDate     = GetWindowsInstallationDateTime();
     ProcessorCount  = Environment.ProcessorCount;
     InputLocale     = InputLanguage.CurrentInputLanguage.Culture.TwoLetterISOLanguageName;
     SystemLocale    = GetSysLocale();
 }