简单的在线手动程序激活 [英] Simple online manual program activation

查看:87
本文介绍了简单的在线手动程序激活的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WinForms [C#]和SQL Compact数据库开发一个简单的Windows应用程序。我想通过以下方式提供手动串行激活方法[在线]

- 名称

- 硬件ID(PC id或其他名称)



所以机制如下:

- 我(个人或任何其他官员)将链接名称+硬件ID与序列号并在线添加到另一个数据库\ excel sheet \甚至文本文件

- 潜在客户使用他的名字+序列号提供给他

- 应用程序获取hardwareID并连接+在线搜索激活源

- 如果应用程序找到记录(名称+ id链接在一起),则保存激活码(序列号)作为HKEY在登记处



我需要知道的事情:

- 如何在应用程序中添加等式本身生成连续出版物(我会使用相同的公式在激活方法中添加连续出版物)

- 如何通过程序和ty获取硬件ID把它写成文本(所以这个人可以发给我)

- 如何将序列保存为HKEY以及每次应用程序打开时如何调用它



注意:

**我完全清楚这种保护方式很容易被逆向工程,但这个应用程序不会引起这些坏人的注意(我希望)。

**实际上我没有任何资金(至少在目前),所以如果你想建议我第三方工具然后最好是免费的。

**将来我可能会像一些专业人士一样重新编写我的简单应用程序并保护它,但在这个早期阶段不太可能。 />


!为我提供示例代码或想法,我可以开始:)虽然也欢迎理论思路

I'm working on a simple windows application using WinForms [C#] and SQL Compact database. I think of providing a manual serial activation method [Online] through :
- Name
- Hardware ID (PC id or whatever it's called)

So the mechanism goes as follow :
- I (personally or any other official) will link the Name+Hardware ID with the serial number and add it to another database online \ excel sheet \ or even text file
- The potential customer use his name + serial number provided to him
- The application fetches hardwareID and connect + search the activation source online
- If the application finds a record (with name+id linked together), then it saves the activation code (serial) as HKEY in registry

What I need to know :
- How to add an equation in the application itself to generate serials (I would use the same equation to add serials in the activation method)
- How to fetch Hardware ID through the program and type it in a text (so the person can send them to me)
- How to save serial as HKEY and how to recall it each time the application opens

Notes :
** I'm completely aware that this way of protection is very easy to be reverse-engineered , but this application won't gain the attention of these bad people (I hope).
**Actually I don't have any funds (at least at the moment) , so if you'd like to suggest me a 3rd party tool then it'd be better to be free one.
**In the future I might as some professionals to recode my simple application and protect it , but that less likely at this early stage.

Please ! provide me with sample codes or ideas where I can start with :) though theoretical ideas are welcomed too

推荐答案

1。如何添加等式

这只是代码,您决定需要使用哪种计算并将其添加到程序中。哪里?只有你会知道答案。你真的需要计算吗或GUID做这个工作?



2.如何获取硬件ID

查看这些链接来自Google: https://www.google.com/search?q=c%23%20wmi [ ^ ]



3.如何将序列号保存为HKEY

请参阅注册表类 [ ^ ]



我找到的所有这些通过谷歌。
1. How to add an equation
This is just code, you decide what calculation you need to use and add it to your program. Where? Only you will know the answer to that. Do you actually need a calculation or would a GUID do the job?

2. How to fetch Hardware ID
Look at these links from Google: https://www.google.com/search?q=c%23%20wmi[^]

3. How to save serial as HKEY
See the Registry class[^]

All of which I found via Google.


这篇关于简单的在线手动程序激活的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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