A
Arthur Dent
Hi all, im wondering if theres any way to get the parent of a RegistryKey?
Using the Microsoft.Win32.RegistryKey class?
I am using the Application.UserAppDataRegistry object. I want to then
get the parent key of this key.
The reason for this is that the key returned by UserAppDataRegistry is
specific to the application version, which i dont want, i only want a key
which is specific to the application, ie, the parent of the version key.
Instead of
HKEY_CURRENT_USER\Software\My Company\MyApp\1.0.2095.32456
i just want
HKEY_CURRENT_USER\Software\My Company\MyApp
Thanks in advance,
- Arthur Dent.
Using the Microsoft.Win32.RegistryKey class?
I am using the Application.UserAppDataRegistry object. I want to then
get the parent key of this key.
The reason for this is that the key returned by UserAppDataRegistry is
specific to the application version, which i dont want, i only want a key
which is specific to the application, ie, the parent of the version key.
Instead of
HKEY_CURRENT_USER\Software\My Company\MyApp\1.0.2095.32456
i just want
HKEY_CURRENT_USER\Software\My Company\MyApp
Thanks in advance,
- Arthur Dent.