Posted By: risu | May 25th, 2004 @ 6:58 AM
page 1 of 1
Comments: 2 | Views: 1678

I hope that this isn't too trivial and that I'm not wasting anyone's time.

Will the next framework release contain expanded registry access options. By this  I mean .net ways of accessing and modifying non-HKEY_LOCAL_USERS keys? It seems the only way to do so is to make use of the WIN32 API's.

We've written classes to facilitate this access and hide the WIN32 calls (well another developer did I'm just asking now that I know about it).

Was access to only HKEY_LOCAL_USERS a security feature by the framework developers. Is it intended to prevent unintentional access to the registry or inappropiate access?

It is already as easy to access any part of the registry I was just hoping for a more unified way of accessing the registry as a whole rather than one way for one section and a second way for all other sections

Thanks,
Risu

aza
aza
Don't the Microsoft.Win32.Registry and RegistryKey classes have everything you need? As far as I was aware you could open any key you liked, providing you had permissions, using these classes...

Micorosft.Win32.Registry.Users corresponds to HKEY_USERS, I don't have a HKEY_LOCAL_USERS (WinXP).

Aaron
page 1 of 1
Comments: 2 | Views: 1678