需要硬件ID匹配 [英] Require hardware ID match

查看:107
本文介绍了需要硬件ID匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我正在尝试为我的控制台应用程序添加一个HWID锁(c#)

我真的不能找到一个控制台应用程序..

我如何要求我的源中的HWID与我的电脑相匹配?



谢谢帮助,



Mitch



我的尝试:



我真的没有尝试那么多,我尝试了一些让我的代码破解的东西..

我希望这个网站可以帮助我任何更进一步!

Hello,

I'm trying to add a HWID lock to my console application (c#)
I really can't find much for aa console application..
How can I require the HWID in my source to match the one of my pc?

Thanks for helping,

Mitch

What I have tried:

I really didn't try that much, I tried a few things which made my code break..
I hope this website can help me any furter!

推荐答案

我通过使用计算机名称(可以是任何其他标识符)来创建一个类似的东西来创建一个通过Web服务注册的编码字符串启动。当然,至少在初始注册时需要互联网连接。对于我的情况,我需要能够动态重新路由或拒绝访问,因此启动应用程序需要互联网连接。



服务器端不需要任何花哨的东西。我使用的是一个sql数据库,但很容易就像在托管网站上粘贴的xml文档一样简单。



这个设置的一个好处就是它允许您可以跟踪使用情况统计信息/请求。
I've done something similar by using the computer name (could be any other identifier) to create an encoded string that registers through a web service on startup. Of course, an internet connection is required, at least for the initial registration. For my situation, I needed to be able to reroute dynamically or deny access so an internet connection is required to launch the app.

The server side doesn't have to be anything fancy. I use a sql database, but it could easily be something as simple as an xml document stuck on a hosted site.

One nice thing about this setup is that it allows you to track usage stats/requests.


这是一个控制台应用程序无关紧要 - 用户界面无关紧要或影响您以任何方式生成的ID。

从这里开始: C#硬件ID - Google搜索 [ ^ ]

但是不要浪费太多时间:软件保护方法,容易破解(看看Adobe:他们花了很多时间在Photoshop中实现复制保护,同一天他们发布新版本,黑客可以在破解网站上找到。)



保护必须是三件事的平衡:你投入的努力;由于无法复制而产生的销售额;它导致合法用户的恶化。最后一点非常重要:很容易获得代表不让合法用户使用他们支付的产品,并且很难摆脱它。

所以仔细想想你需要保护多么糟糕你的产品,如果它很重要的话,可以使用硬件加密狗。
It is irrelevant that it's a console app - the UI doesn't matter or affect the ID you generate in any way.
Start here: C# Hardware ID - Google Search[^]
But don't waste too much time on it: software protection methods and easy to break (look at Adobe: they spend manyears implementing copy protection in Photoshop and the same day they release a new version, hacks are available on crack sites).

Protection has to be a balance of three things: the effort you put into it; the sales it generates as a result of not being able to copy it; the aggravation it causes legitimate users. And the last is significant: it's easy to get a rep for not letting legitimate users use the product they paid for, and very hard to get rid of it.
So think carefully how badly you need to protect your product, and go with a hardware dongle if it's that important.


这篇关于需要硬件ID匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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