Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Поиск с косыми не работает (remove double slash)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quake4 committed Jun 19, 2017
1 parent 2b0a16a commit cf3ea76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NiceHashMiner/Devices/ComputeDeviceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public static void QueryVideoControllers() {
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.AppendLine("");
stringBuilder.AppendLine("QueryVideoControllers: ");
ManagementObjectCollection moc = new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_VideoController WHERE PNPDeviceID LIKE 'PCI\\%'").Get();
ManagementObjectCollection moc = new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_VideoController WHERE PNPDeviceID LIKE 'PCI%'").Get();
bool allVideoContollersOK = true;
foreach (var manObj in moc) {
ulong memTmp = 0;
Expand Down

0 comments on commit cf3ea76

Please sign in to comment.