I'm busy creating a program that will read parts of the registry to find out what USB devices have been connected to a windows system etc... I've managed to create a piece of software what will display the values, however each person's registry will hold different information.
I've tried looking everywhere to find help/guidence with code to be able to scan a registry folder and display the subfolders within it. I know there is plenty of code for reading ordinary file locations however none will work with attempting to read the registry.
The folder location I am trying to read is:
"\"HKLM\SYSTEM\CurrentControlSet\Enum\USBSTOR\
I've managed to create a program which will read the values from the above location however I have to manualy specify each subfolder into the code.
I hope i've explained what i need, sorry if it's confusing
Thanks in advance