By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

registry traversal

P: n/a
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

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Noa" <st*********@hotmail.com> schrieb:
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).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.