Programatically get list of Installed Programs
To get the list of installed software programs in a machine use this code:
RegistryKey rk = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, "pvn");
RegistryKey rkprograms = rk.OpenSubKey(@"SoftwareMicrosoftWindowsCurrentVersionUninstall");
foreach (string s in rkprograms.GetSubKeyNames())
{
listBox1.Items.Add(s);
}
Namespace: Microsoft.Win32
Related posts:






















