From: sr55 Date: Tue, 1 Jan 2019 16:50:12 +0000 (+0000) Subject: WinGui: Add CPU info back into the log header as it's not always available in the... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a01285a61baf854abd3f4daca66e2e33cdecc9e;p=handbrake WinGui: Add CPU info back into the log header as it's not always available in the log body. --- diff --git a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs index c80a12408..f03d16f2c 100644 --- a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs +++ b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs @@ -109,6 +109,7 @@ namespace HandBrakeWPF.Utilities logHeader.AppendLine(string.Format("HandBrake {0}", VersionHelper.GetVersion())); logHeader.AppendLine(string.Format("OS: {0}", Environment.OSVersion)); + logHeader.AppendLine(string.Format("CPU: {0}", SystemInfo.GetCpuCount)); logHeader.AppendLine(string.Format("Ram: {0} MB, ", SystemInfo.TotalPhysicalMemory)); logHeader.AppendLine(string.Format("GPU Information:{0}{1}", Environment.NewLine, gpuBuilder.ToString().TrimEnd())); logHeader.AppendLine(string.Format("Screen: {0}x{1}", SystemInfo.ScreenBounds.Bounds.Width, SystemInfo.ScreenBounds.Bounds.Height));