1. Verify if a dll has been signed

  sn.exe -v module.dll

Scenario: sometimes for security reasons, a .Net program requires all loaded dlls having a strong name(a.k.a signed), otherwise the dll will not be loaded

How to find sn.exe

Open a cmd prompt

>C:

>cd\

>dir sn.exe /s

Last command will search sn.exe recursively in C driver

2. Sign a dll

In Visual studio, right click the project file, in the properties pane, there is a signing option, check it and select (or create) a private key file

Then build.

 

posted on 2016-03-29 21:36  shosciation  阅读(155)  评论(0编辑  收藏  举报