KonTrax
2/3/2015 - 4:13 PM

Get installed Applications From http://www.snippetsource.net/Snippet/150/get-installed-applications-in-c

public IEnumerable<string> GetInstalledApps()
{
  var uninstallKeyPath = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall";
  using (var uninstallKey = Registry.LocalMachine.OpenSubKey(uninstallKeyPath))
  {
    foreach (var keyName in uninstallKey.GetSubKeyNames())
    {
      using (var appKey = uninstallKey.OpenSubKey(keyName))
      {
        yield return appKey.GetValue("DisplayName"));
      }
    }
  }
}