WinForm programming digital signature own (Continued)

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

In an article on "WinForm programming digital signature" own we can already get digital signature we program customization, but hate is every time after compilation, the need to manually add the digital signature.

What we need is to automatically add the digital signature at compile time.

The vs was actually already provides this function, the specific operation as follows.

Right click the project properties generate event -> -> post build event command line -> input digital signature command line

"C:\Program Files (x86)\Windows Kits\8.0\bin\x86\signtool.exe" sign /a $(TargetPath)
So now we each compile, digital signature has been added. 

Note: make sure you have the correct certificate into the personal certificate position, detailed information see an article.

  


Reference: Signtool.exe as the initiating event is generated

   SignTool.exe(Signature tool)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Ellen at November 17, 2013 - 10:02 PM