diff options
5 files changed, 4 insertions, 27 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/LanguageUtilities.cs b/win/CS/HandBrake.ApplicationServices/Utilities/LanguageUtilities.cs index d8d16b87a..d8a3c0854 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/LanguageUtilities.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/LanguageUtilities.cs @@ -10,7 +10,6 @@ namespace HandBrake.ApplicationServices.Utilities
{
using System.Collections.Generic;
- using System.Collections.Specialized;
using System.Linq;
/// <summary>
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/VersionHelper.cs b/win/CS/HandBrake.ApplicationServices/Utilities/VersionHelper.cs index 3d7943d83..cc5c903ef 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/VersionHelper.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/VersionHelper.cs @@ -49,27 +49,5 @@ namespace HandBrake.ApplicationServices.Utilities // 01 = Unofficial Builds. 00 = Official Tagged Releases.
return instance.Build.ToString().EndsWith("01");
}
-
- /// <summary>
- /// The get platform bitness.
- /// </summary>
- /// <returns>
- /// The <see cref="bool"/>.
- /// </returns>
- public static string GetPlatformBitnessVersion()
- {
- return System.Environment.Is64BitProcess ? "64bit" : "32bit";
- }
-
- /// <summary>
- /// Is a 64 bit app.
- /// </summary>
- /// <returns>
- /// The <see cref="string"/>.
- /// </returns>
- public static bool Is64Bit()
- {
- return System.Environment.Is64BitProcess;
- }
}
}
diff --git a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs index 325eacaa3..bed4a01be 100644 --- a/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs +++ b/win/CS/HandBrakeWPF/Utilities/GeneralUtilities.cs @@ -107,8 +107,8 @@ namespace HandBrakeWPF.Utilities 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())); diff --git a/win/CS/HandBrakeWPF/ViewModels/AboutViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AboutViewModel.cs index cb9cef3e7..8096441b2 100644 --- a/win/CS/HandBrakeWPF/ViewModels/AboutViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/AboutViewModel.cs @@ -33,7 +33,7 @@ namespace HandBrakeWPF.ViewModels {
get
{
- return string.Format("{0} - {1}", VersionHelper.GetVersion(), VersionHelper.GetPlatformBitnessVersion());
+ return string.Format("{0}", VersionHelper.GetVersion());
}
}
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs index 19209101f..c8fb9580a 100644 --- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs @@ -1075,7 +1075,7 @@ namespace HandBrakeWPF.ViewModels {
get
{
- return string.Format("{0} - {1}", VersionHelper.GetVersion(), VersionHelper.GetPlatformBitnessVersion());
+ return string.Format("{0}", VersionHelper.GetVersion());
}
}
|