Inishtech / Software 潜在的 Code Protector 与 Visual Studio 构建或安装项目集成

发布于 2024-12-19 01:07:32 字数 237 浏览 6 评论 0原文

有人尝试过 InishTech 软件潜在代码保护器 吗?

我们可以通过编程方式将其与我们的构建集成吗?我找到了教程,但这些教程是在 Code Protector 独立 GUI 的帮助下完成的。我想知道的是他们是否有 SDK,以便我们可以与我们的代码集成或一些完美的教程,可以从我们的设置中选择退出依赖项。

Have anyone tried InishTech Software Potential Code Protector ?

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

傾旎 2024-12-26 01:07:32

更新:添加了涵盖代码保护的入门指南自从我写了答案。 (执行摘要:您添加 2 个 NuGet 包,然后将属性放在要保护的内容上,保护会自动集成到构建过程中,无论是在 Visual Studio 内还是在构建服务器上。关键的简化是您不再需要添加 SLPS_PROTECT 符号或在任何地方安装 SDK。)


您可以在构建过程中使用自动保护,详细信息请参阅 相关知识库文章

这与基于 MSBuild 的构建扩展挂钩,当您将每个程序集 EXE/DLL 编译到 命令行代码时,该扩展将提供每个程序集 EXE/DLL当您在 Project| 中 #define SLPS_PROTECT 时,保护器设置|构建选项卡|常规区域|条件编译符号(您可能只想对发布配置执行此操作)。

然后,受保护的代码将继续前进,例如进入您的安装项目或 WebDeploy 包。

通常,在使用此方法时,您可以使用 以声明方式标记要与每个受保护方法关联的功能 [功能] 属性:-

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

您还可以在知识库<中找到更多相关详细信息/a>, 常见问题解答论坛

更新:有一个新的 http://docs.softwarepotial.com/,它提供了比现有的更有针对性的入门指南是在我回答问题的时候。还有一组示例:https://github.com/SoftwarePotential/samples 包括安装程序相关的。

如有任何其他问题,请随时在此处或在论坛上提问。

免责声明:我在 InishTech 工作。

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.

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).

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.

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.

Disclaimer: I work for InishTech.

饮惑 2024-12-26 01:07:32

Code Protector 是 InishTech 的出色产品
我在我的初创公司中使用它,它效果很好,并且可以很好地完成它的工作
就去做吧

Code Protector is fantastic product from InishTech
I am using this for my startup and it works great and do it's job extensively well
just go for it

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文