Winify
/trunk/Winify/Utilities/Miscellaneous.cs |
---|
@@ -147,12 +147,12 @@ |
using var rk = localMachineX64View.OpenSubKey(location); |
if (rk == null) |
throw new KeyNotFoundException( |
string.Format("Key Not Found: {0}", location)); |
$"Key Not Found: {location}"); |
var machineGuid = rk.GetValue(name); |
if (machineGuid == null) |
throw new IndexOutOfRangeException( |
string.Format("Index Not Found: {0}", name)); |
$"Index Not Found: {name}"); |
return machineGuid.ToString(); |
} |