本文介绍了DLL的许可证管理器出售给开发人员,但是用户的免费运行时库。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发.NET SDK类型的资源。开发人员会在他们的代码中使用DLL,他们必须为此付费。因此需要某种许可管理器。同时,他们应该能够自由地分发他们的软件,因此我的DLL的运行时库应该没有许可证。我很困惑如何通过Visual Studio或代码实现这一点。

我能看到一些C#代码来实现一个简单的许可证管理器,只有在许可证是发现,但编译后的版本可以在任何地方运行吗?

I am developing a .NET SDK type of resource. Developers would use a DLL in their code, and they would have to pay for that. So some sort of license manager is needed. At the same time, they should be able to distribute their software freely, so runtime libraries of my DLL should work without a license. I'm very confused as to how this could be accomplished from Visual Studio or via code.
Can I see some C# code to implement a simple license manager that makes the source code run only if a license is found, but the compiled version can run from anywhere?

推荐答案



这篇关于DLL的许可证管理器出售给开发人员,但是用户的免费运行时库。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 07:57