PDA

View Full Version : Searching Registry SubKeys


Staggan
03-02-2007, 06:45 AM
Hi.

I am trying to find the plugin directory for an application from a registry key, but the plugin subkey is not always in the same place within the registry entry.

How can I search all the subkeys of a registry key to locate a specific subkey and return its value ?

Thanks

jassing
03-03-2007, 10:30 PM
How can I search all the subkeys of a registry key to locate a specific subkey and return its value ?


use Registry.GetKeyNames(), loop thru the results & check for the value?