namespace HandBrake.ApplicationServices.Utilities\r
{\r
using System.Collections.Generic;\r
- using System.Collections.Specialized;\r
using System.Linq;\r
\r
/// <summary>\r
// 01 = Unofficial Builds. 00 = Official Tagged Releases.\r
return instance.Build.ToString().EndsWith("01");\r
}\r
-\r
- /// <summary>\r
- /// The get platform bitness.\r
- /// </summary>\r
- /// <returns>\r
- /// The <see cref="bool"/>.\r
- /// </returns>\r
- public static string GetPlatformBitnessVersion()\r
- {\r
- return System.Environment.Is64BitProcess ? "64bit" : "32bit";\r
- }\r
-\r
- /// <summary>\r
- /// Is a 64 bit app.\r
- /// </summary>\r
- /// <returns>\r
- /// The <see cref="string"/>.\r
- /// </returns>\r
- public static bool Is64Bit()\r
- {\r
- return System.Environment.Is64BitProcess;\r
- }\r
}\r
}\r
gpuBuilder.Append("GPU Information is unavailable");
}
- logHeader.AppendLine(string.Format("HandBrake {0} - {1}", VersionHelper.GetVersion(), VersionHelper.GetPlatformBitnessVersion()));
- logHeader.AppendLine(string.Format("OS: {0} - {1}", Environment.OSVersion, Environment.Is64BitOperatingSystem ? "64bit" : "32bit"));
+ 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()));
{\r
get\r
{\r
- return string.Format("{0} - {1}", VersionHelper.GetVersion(), VersionHelper.GetPlatformBitnessVersion());\r
+ return string.Format("{0}", VersionHelper.GetVersion());\r
}\r
}\r
\r
{\r
get\r
{\r
- return string.Format("{0} - {1}", VersionHelper.GetVersion(), VersionHelper.GetPlatformBitnessVersion());\r
+ return string.Format("{0}", VersionHelper.GetVersion());\r
}\r
}\r
\r