仅在一台PC上运行vb.net应用程序 [英] run vb.net application in only one PC

查看:73
本文介绍了仅在一台PC上运行vb.net应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我只想在一台计算机上运行vb.net应用程序.像许可证版本.



i want to run my vb.net application in only one machine. like licence version.

推荐答案

,您需要检查该机器的唯一硬件ID/序列号并在您的代码中对其进行验证.

使用MACID验证唯一性.获取计算机的MACID对其进行加密并将其存储在.TXT文件中.当用户尝试登录该应用程序时,检查TXT文件中的MACID是否应与计算机的MAC地址匹配.
you need to check the unique hardware ID/serial no of that machine and validate it in your code.

Use MACID to validate for uniqueness. Get MACID of computer encrypt it and store it in .TXT file. when user try to login the application check the MACID from TXT file should match with the computer''s MAC.


购买第三方库.这是最好的方法,因为它已经成熟并且希望得到很好的支持.
Buy a third-party library. That''s the best route because it''s mature, and hopefully well supported.


很明显,使用第3方组件可以提高安全性.

方法太容易破解,但可以:
-使用AES加密%^&
It is obvious to use a 3rd party component, this would give you more security.

Too easy to hack method but works:
- encrypt with aes a string like "%^&


这篇关于仅在一台PC上运行vb.net应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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