I manage a PGP encryption library call PGPCore and have recently been making some changes to try and move some of the deployment overhead into a git pipleline. The library is strongly named and as part of the work I’ve been trying to move the signing of the package into the pipeline. However in order to check if this is working or not I need a way to check if the dll is signed.

This can be done by using the conviently named “Strong Name Tool” like so.

"C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\sn.exe" -v "C:\Users\mattosaurus\source\repos\PgpCore\PgpCore\bin\Release\netstandard2.0\PgpCore.dll"

Paths to the tool and the dll are for my local machine.

This will return a response informing you if the dll has a strong name (is valid) or not.


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *