验证可执行文件是否已签署或不(用signtool签署该EXE) [英] Verify whether an executable is signed or not (signtool used to sign that exe)

查看:219
本文介绍了验证可执行文件是否已签署或不(用signtool签署该EXE)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序需要验证无论是签署与否。如果它继续签署的执行和退出应用程序如果不。该signtool将被用来签署申请。 ?
是否有任何C#代码来做到这一点。

In my application I need to verify whether it's signed or not. If it's signed continue the execution and exit the application if not. The signtool will be used to sign the application. Is there any C# code to do that?

推荐答案

您可以在这里找到一个工作的C#代码:的确定文件是否已

You can find a working C# code here: Determining if a file has a valid digital signature

这篇关于验证可执行文件是否已签署或不(用signtool签署该EXE)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆