Link to home
Start Free TrialLog in
Avatar of HubertFarnsworth
HubertFarnsworthFlag for United States of America

asked on

Reading and Writing Registry Values via C# Code

Good Day -

I am trying to find some .NET 2.0 methods for reading and writing Registry values. Do such methods exist or is there some way to home-grow this?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Example usage:

bool isFullScreen = (Convert.ToInt32((WindowsRegistry.GetValue(RegistryKeyRoot.CurrentUser, @"Software\Microsoft\VisualStudio\8.0", "FullScreen"))) == 1);

Bob
Avatar of HubertFarnsworth

ASKER

Thanks!