与Visual Studio生成或安装项目Inishtech /软件潜在的code保护一体化项目、软件、Visual、Studio

2023-09-06 18:43:47 作者:命㈠样珍惜努力

有没有人试过InishTech 软件潜在的code保护?

Have anyone tried InishTech Software Potential Code Protector ?

我们可以将这种与我们的构建编程?我发现教程,但这些人做的code保护独立的图形用户界面的帮助。我想知道的是他们有一个SDK,使我们可以与我们的code或能退出的依赖关系,从​​我们的一些设置教程完美集成。

Can we integrate this with our build programmatically? I found tutorials but those were to do with the help of the Code Protector standalone GUI. What I want to know is do they have an SDK so that we can integrate with our code or some perfect tutorial which can opt-out dependencies from our setup.

推荐答案

更​​新:目前已经有的入门指南,涵盖code防护的加入,因为我写的答案。 (执行概要:你加2的NuGet包,然后把属性上要保护什么,保护被自动集成到构建过程中,可以从在Visual Studio或生成服务器上的关键简化是,你不再需要。添加 SLPS_PROTECT 符号或者任何地方安装SDK。)

UPDATE: There's been a Getting Started guide that covers code Protection added since I wrote the answer. (Exec summary: You add 2 NuGet packages and then put attributes on what you want to protect and protection is automatically integrated into the build process, be that from within Visual Studio or on a Build Server. Key simplifications are that you no longer need to add a SLPS_PROTECT Symbol or install an SDK anywhere.)

您可以建立如相关的知识库文章的详细过程中使用的自动保护功能。

You can use the automatic Protection during building as detailed in the relevant KB article.

这个钩子的MSBuild的基础建设扩展,将饲料每个装配的EXE / DLL作为你编译成命令当你#定义直插code保护 SLPS_PROTECT 在工程|设置|建立选项卡|总面积|条件编译符号(你可能只想做了的发布的配置)

This hooks in an MSBuild-based build extension which will feed each assembly EXE/DLL as you compile it into the Command-Line Code Protector when you #define SLPS_PROTECT in Project| settings|Build tab|General area|Conditional compilation symbols (you might only want to do this for the Release configuration).

受保护code,则继续在它的途中,例如,到安装项目或WebDeploy包。

The Protected code then continues on its way, e.g., into your Setup Project or WebDeploy package.

通常使用这种方法的时候,你声明标记功能与每个受保护的方法相关使用 [专题] 属性 -

Typically when using this approach, you declaratively mark the Feature to be associated with each Protected Method using the [Feature] attribute:-

[Feature]
void ProtectedCode()
{
    ...
}

您还可能会发现在知识库,的常见问题解答和的论坛。

You may also find further relevant details in the knowledgebase, FAQs and in the forum.

更新:有一个新的 http://docs.softwarepotential.com/ 提供更有针对性入门导板,还有在我回答这个问题的时候。还有一组样品安装在: https://github.com/SoftwarePotential/samples 包括安装程序 - 相关的。

UPDATE: There's a new http://docs.softwarepotential.com/ which provides more focused getting started guides than there were at the time I answered the question. There are also a set of samples up at: https://github.com/SoftwarePotential/samples including installer-related ones.

任何问题,请随时问 - 无论是在这里还是在论坛

Any further questions, please feel free to ask - either here or on the forum.

声明:我InishTech工作

Disclaimer: I work for InishTech.