registry traversal

  • Thread starter Thread starter Noa
  • Start date Start date
N

Noa

Hi,
Is there a code sample/snippet showing how to get a list of all child
keys (of 1st level) of a given key?
for example, I input "HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT" and the
output is the list of keys of first level (direct children), e.g.
..NETCompactFramework, .NETFramework, ACT

Thanks,
Noa
 
Noa said:
Is there a code sample/snippet showing how to get a list of all child
keys (of 1st level) of a given key?
for example, I input "HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT" and the
output is the list of keys of first level (direct children), e.g.
.NETCompactFramework, .NETFramework, ACT

'Microsoft.Win32.RegistryKey.GetSubKeyNames' (MSDN documentation contains a
sample).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top