用C#内置的桌面应用程序给我的客户。我想保护我的应用程序免受复制滥用。我的应用程序包含.exe和db文件。部署应用程序后用户可以... [英] A desktop application built in C# to my customer. I want to protect my application from copy abuse. My application is contain both the .exe and db files. After deploying application user can...

查看:53
本文介绍了用C#内置的桌面应用程序给我的客户。我想保护我的应用程序免受复制滥用。我的应用程序包含.exe和db文件。部署应用程序后用户可以...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将向我的客户发布一个用C#构建的桌面应用程序。我想保护我的应用程序免受复制滥用。我的应用程序是一个包含.exe。部署应用程序后,用户可以轻松复制部署文件并将其用于其他计算机。我怎么能防止这种情况?无论如何我可以将应用程序绑定到一台机器上吗?。

I'm going to release a desktop application built in C# to my customer. I want to protect my application from copy abuse. My application is a contain both the .exe . After deploying application user can easily copy deployment files and use them another machine. How can I prevent that?. Is there anyway I can bind the application to one machine?.

推荐答案

您可以通过使用安装程序在注册表中添加一些密钥来防止这种情况。

因此,用户将无法在其他位置使用相同的应用程序。
You can prevent this by using an installer to add some keys in the registry.
Thus a user will not be able to use the same application in another location.


这篇关于用C#内置的桌面应用程序给我的客户。我想保护我的应用程序免受复制滥用。我的应用程序包含.exe和db文件。部署应用程序后用户可以...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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