通过C#在注册表中输入您的软件产品信息 [英] Enter your software product information in registry by c#

查看:83
本文介绍了通过C#在注册表中输入您的软件产品信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,
我想通过c#代码将软件产品信息(例如其密钥,注册人的姓名,电子邮件ID,加密密钥等)存储在系统注册表中.
您可以在c#


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#

推荐答案

此MSDN链接 [ ^ ]包含您需要的所有信息.

就个人而言,我将使用CommonApplicationData文件夹(可以从System.Environment.SpecialFolder中获得),并保存在text/xml文件或SQLCompact DB(如果有很多不断变化的数据)中.
此链接 [
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.


这篇关于通过C#在注册表中输入您的软件产品信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆