使用cmd签署dll

发布于 2024-10-02 22:38:23 字数 118 浏览 0 评论 0原文

我有一个 dll (project.dll),我想使用 cmd 对该 dll 进行签名,因为我没有它的源代码。

是否可以在没有源代码的情况下对 dll 进行签名?

如果是,请告诉我该怎么做。

I have a dll (project.dll) I want to sign the dll using cmd as I don't have source code of it.

Is it possible to sign a dll without sourcecode.

If yes, please let me know how to do it.

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

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

发布评论

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

评论(1

孤芳又自赏 2024-10-09 22:38:23

您只能在编译程序集后对其进行签名。拥有源代码是无关紧要的。

使用 sn.exe 和 < a href="http://msdn.microsoft.com/en-us/library/c405shex.aspx" rel="nofollow">al.exe 工具。

请参阅此处如何使用它们。

You can only sign assemblies after they have been compiled. Having the source code is irrelevant.

Use the sn.exe, and al.exe tools.

See how to use them here.

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