How to check a registry key has no subkeys or values?
04/26/2016 1612 views
I am able to see whether a particular registry key exist or not but not able to get the code for checking whether that particular registry hive is having any subkeys or values.
I need to delete it if the hive is empty.
Can you suggest.