how to check if a file has a digital signature

前端 未结 7 1251
情书的邮戳
情书的邮戳 2020-12-05 17:07

I\'d like to check programatically if a file has been digitally signed or not.

For the moment, I found a rather obscure code in MSDN, that doesn\'t compile...

<
7条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 17:59

    If you need an external tool, you can use signtool.exe. It is part of the Windows SDK, it takes command line arguments, and you can find out more about it here, http://msdn.microsoft.com/en-us/library/aa387764.aspx

提交回复
热议问题