本文介绍了如何验证程序集是否已签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
签名"有两种方法.程序集:我们可以使用SN工具添加强名,也可以使用signtool对程序集进行签名.
我正在工作的公司中的某些程序集由signtool签名.我需要在代码中标识执行中的程序集是否已签名.
有什么方法可以做到这一点?
谢谢!
Dennes [http://bufaloinfo.cloudapp.net]在线T-SQL上的增强服务-[http://bufaloinfo.cloudapp.net/Cursos/linguagemsql.aspx]
解决方案
Hi,
There are two ways to "sign" an assembly: We can add a strong name using SN tool or/also we can sign the assembly with signtool.
Some assemblies in the company I'm working on are signed by signtool. I have the need to identify in code if the assembly in execution is signed.
Is there some way to do this ?
Thank you !
Dennes [http://bufaloinfo.cloudapp.net] Inscreva-se em meu treinamento on-line de T-SQL - [http://bufaloinfo.cloudapp.net/Cursos/linguagemsql.aspx]
解决方案
这篇关于如何验证程序集是否已签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!