日期:2014-05-18 浏览次数:20985 次
private void getSoftwareList()   
  {   
  Microsoft.Win32.RegistryKey rk = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall");   
    
  String[] names = rk.GetSubKeyNames();   
    
  foreach(String s in names)     
  {   
      textbox1.Text+=(s+"\r\n");
  }   
  }
------解决方案--------------------
http://www.cppblog.com/AutomateProgram/archive/2010/06/12/117721.html