日期:2014-05-18  浏览次数:21073 次

注册表中为什么读取不到 Adobe Flash Player ActiveX 这个键?
我用C# 的Registry 类处理注册表的时候,发现在读取
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
这个键的子键的时候,用注册表编辑器明明看到Adobe Flash Player ActiveX这个子键,但是,读出来的 string[] 里面,为什么没有它呢?
DisplayName 的值我也读出来了,其中也没有Flash Player.
请高人答疑,谢谢!
下面是我的代码
C# code

static void PrintSubKeyNames() {
      RegistryKey rkey = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Uninstall");
      foreach (string s in rkey.GetSubKeyNames()) {
        Console.WriteLine(s);
      }
    }



------解决方案--------------------
64位的不在这个地方