Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 114
  • Last Modified:

Where to / How to properly store settings in the Windows Registry

I am writing a small Windows Application, and I want to store some settings.

How do I interface with the Windows Registry in C#?

Where is the correct place to store settings for my application?

This app will be in Windows 8.1 or better.

Thank you,

Tom
0
Tom Knowlton
Asked:
Tom Knowlton
  • 2
2 Solutions
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
Tom KnowltonWeb developerAuthor Commented:
0
 
sarabandeCommented:
with .net you would use class System.Configuration.ConfigurationManager for storing app configuration data to the registry. see

https://msdn.microsoft.com/en-us/library/system.configuration.configurationmanager(v=vs.110).aspx

Sara
0
 
Tom KnowltonWeb developerAuthor Commented:
Thank you both!

Tom
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now