G
Guest
being a novice i searched the net to get help on my c# project.
i'm trying to iterate, enumerate, loop through a registry tree hive. for
example i have a sub folder under HKLM\SOFTWARE that has some 21 sub folders
and there are sub folders under some of he 21.
i have no problem going into the sub folder (lets call it) programX. when i
do an readkeys.opensubkey(regipath) and then keyvalue.getvalue(...) it will
not only read the "values" but it will try to enumerate through the sub
folders if they are present. this does not make sense. the question is is
this normal that the "getvalue()" in "RegistryKey" class suppose to get the
sub folders under the folder?
when i try to do this on a single folder with multiple sub folders it get
everything. but is i start at the main key "hklm\software\programX" it only
gets the first sub folders of all the hive... ???
i'm trying to iterate, enumerate, loop through a registry tree hive. for
example i have a sub folder under HKLM\SOFTWARE that has some 21 sub folders
and there are sub folders under some of he 21.
i have no problem going into the sub folder (lets call it) programX. when i
do an readkeys.opensubkey(regipath) and then keyvalue.getvalue(...) it will
not only read the "values" but it will try to enumerate through the sub
folders if they are present. this does not make sense. the question is is
this normal that the "getvalue()" in "RegistryKey" class suppose to get the
sub folders under the folder?
when i try to do this on a single folder with multiple sub folders it get
everything. but is i start at the main key "hklm\software\programX" it only
gets the first sub folders of all the hive... ???