What is the best way for iterating through the registry with RegistryAccess object?
It will be appreciated an example for deleting entire key branches due RegistryAccess can't do it if the key has one or more child subkeys.
I know I must use recursive function calls, etc., but, what is the best way? Whether opening each subkey by creating a new RegistryAccess object for each iteration, or by using GetSubKey() for each one, or even by moving the same object downward the tree with GotoSubKey() and then upward with GotoParentKey()?
I suppose that by means of one of the above procedures I must fill a flat array of strings with the full name of every branch in order of using each of these strings to call DeleteKey() in a final pass and in inverted order.
What is the way of doing that with the best performance and less time/memory overhead?
This forum can be browsed by the general public. Posting is no longer allowed as the product has been discontinued.
3 posts • Page 1 of 1
- Posts: 1
- Meble kuchenne na zamówienie - na wymiar - Wrocław
- Joined: Tue Oct 06, 2009 9:10 pm