Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,
I want to store my software product information like its key, registered person name,email id, encrypted key etc in the system registry by c# code.
can you send me code block in c#
Posted

1 solution

This MSDN link[^] contains all the information you need.

Personally I would use the CommonApplicationData folder (you can get this from System.Environment.SpecialFolder) and save in text/xml files or even a SQLCompact DB if there is a lot of constantly changing data.
This link[^] may be of use should you decide to go this way.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900