using (RegistryKey rk = Registry.LocalMachine.OpenSubKey(uninstallKey)) { foreach (string skName in rk.GetSubKeyNames()) { using (RegistryKey sk = rk.OpenSubKey(skName)) { if (!(sk.GetValue("DisplayName") == null)) { lstProgramList.Add(sk.GetValue("DisplayName").ToString()); } } } }
DisplayName
System.Collections.Generic.Dictionary
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)