Need help with c# console app

Meinhoonaa
Meinhoonaa used Ask the Experts™
on
I need help with c# code to dynamically read registry nodes and its values and populate it in the database. I am attaching the sample registry  info and and database table for your quick reference. I think console app would be the best option
Capture_11032017Nodes.PNG
Capture_11032017.PNG
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
if you don't really need any user interaction, a console app is indeed a good option.
as far as accessing the registry you can use the Microsoft.Win32.Registry class

Author

Commented:
I think you are missing my question. I need help with c# console app. I am sorry I am new at this.
Most Valuable Expert 2011
Top Expert 2015

Commented:
I don't see a question mark in this question.

Author

Commented:
Can you help me with writing a c# code to dynamically read registry nodes and its values and populate it in the database? I am attaching the sample registry  info and and database table for your quick reference
Senior .Net Consultant
Top Expert 2016
Commented:
Reading the registry is quite simple in .Net. Have a look at http://emoreau.com/Entries/Articles/2003/10/Using-the-registry-from-a-VBNet-application.aspx

As per being console or regular Windows/WPF app, I always prefer to have a UI in front of my applications. It just make it easier to add buttons to the forms to ease the debugging. Once completed the application can be launched without ever showing the UI, do what it has to do and just shut down once completed. Have a look at http://emoreau.com/Entries/Articles/2008/11/Passing-arguments-to-an-application-startup.aspx

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial