diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs b/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs index df1211528..7ec730330 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/SystemInfo.cs @@ -12,7 +12,6 @@ namespace HandBrake.ApplicationServices.Utilities using System;
using System.Collections.Generic;
using System.Management;
- using System.Text.RegularExpressions;
using System.Windows.Forms;
using HandBrake.Interop.HbLib;
@@ -88,36 +87,6 @@ namespace HandBrake.ApplicationServices.Utilities }
/// <summary>
- /// Gets a value indicating whether is hsw or newer.
- /// </summary>
- public static bool IsHswOrNewer
- {
- get
- {
- // TODO replace with a call to libhb
- string cpu = GetCpuCount.ToString();
- if (cpu.Contains("Intel"))
- {
- Match match = Regex.Match(cpu, "([0-9]{4})");
- if (match.Success)
- {
- string cpuId = match.Groups[0].ToString();
- int cpuNumber;
- if (int.TryParse(cpuId, out cpuNumber))
- {
- if (cpuNumber > 4000)
- {
- return true;
- }
- }
- }
- }
-
- return false;
- }
- }
-
- /// <summary>
/// Gets the get gpu driver version.
/// </summary>
public static List<string> GetGPUInfo
|