许可.NET组件 [英] Licensing .NET components

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

问题描述

很抱歉,如果此问题已在本网站的其他地方得到解决.我已经搜索,找不到答案.如果已经回答了,请指向正确的链接?

我一直想写一些.NET组件,现在我可以卖给开发人员以在他们自己的程序中出售.我想做的是制造组件,这些组件只能由购买它的人使用,而不能由最终用户使用.我过去看到的是这样的:

1.开发人员购买要在编程中使用的组件.许可使他可以不受限制地进行开发.

2.开发人员随程序分发组件.分发带有组件的最终用户许可.最终用户可以不受限制地使用程序.

3.最终用户是业余程序员,并尝试使用组件来编写程序.然后,组件会提示最终用户一条消息,告知他除非购买了开发人员许可证,否则无法将其用于开发.


我遇到的问题是如何解决这个问题.我已经阅读了MSDN上的LicenseProvider类一百次,但是它们给出的示例不是很详细.

我想做的事可能吗?如果是这样,谁能给我一个关于如何使用LicenseProvider的更好的例子?还是有人可以向我展示一种更好的方法?

I apologize if this has been addressed somewhere else on this site. I''ve searched and can''t find the answer to this. If it has been answered already, please point me to the right link?

I''ve been wanting to write some .NET components for a while now that I can sell to developers for use in their own programs to sell. What I''d like to do is make the components where they could be only used in developing by the one who bought it, and not by the end user. What I''ve seen in the past is something like this:

1. Developer buys a component to use in programming. License allows him to use unrestricted to develop.

2. Developer distributes component with program. Distributes End User License with component. End user can use with program unrestricted.

3. End user is amateur programmer and tries to use component to write programs. Component then prompts end user with message saying he can''t use it for developing unless he buys developer license.


The problem I''m having is figuring out how to do this. I''ve read over the LicenseProvider class at MSDN a hundred times over, but the example they give isn''t very detailed.

Is what I want to do possible? If so, can anyone give me a better example of how to use LicenseProvider? Or can someone show me a better way?

推荐答案

您是否尝试过此[ LicenceProvider [ ^ ]
Have you tried this [^]

or visit CodeProject''s Link LicenceProvider[^]

and here is something more[^]


一些网络文章:
http://gpalem.web.officelive.com/DotNetLicenseProvider.html
http://www.developer.com/net/csharp/article.php/3074001/Applications-Licensing-using-the-NET-Framework.htm

CryptoLicensing- http://www.ssware.com/cryptolicensing/cryptolicensing_net.htm -支持通过以下方式进行控制/组件许可一个现成的加密的LicenseProvider派生类.
Some web articles:
http://gpalem.web.officelive.com/DotNetLicenseProvider.html
http://www.developer.com/net/csharp/article.php/3074001/Applications-Licensing-using-the-NET-Framework.htm

CryptoLicensing - http://www.ssware.com/cryptolicensing/cryptolicensing_net.htm - supports control/component licensing via a ready made cryptographic LicenseProvider derived class.


这篇关于许可.NET组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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