Search Array Arrays?
Posted on 2006-03-29
This applys to searching the registry for a 'value' much like the manual method. So we have an array of arrays to search, however I'm stumped. I need to find the Windows Installer 3.1 value (3.1.4000.24.35) in the XP or 2000 registry. I would rather conduct a wide search instead of a specific key search because the value location varies between OS's...........
RegistryKey rkey = Registry.LocalMachine.OpenSubKey("Software\\Microsoft\\Updates", false);
string skNames = rkey.GetSubKeyNames();
string skValues = rkey.GetValueNames();
foreach (string sub in skNames)
foreach (string val in skValues)