We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a16e807 commit c908caaCopy full SHA for c908caa
shadowsocks-csharp/Util/Util.cs
@@ -258,7 +258,7 @@ public static bool IsSupportedRuntimeVersion()
258
const int minSupportedRelease = 394802;
259
260
const string subkey = @"SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\";
261
- using (var ndpKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32).OpenSubKey(subkey))
+ using (var ndpKey = OpenRegKey(subkey, false, RegistryHive.LocalMachine))
262
{
263
if (ndpKey?.GetValue("Release") != null)
264
0 commit comments