sn
Mono StrongName utility for signing and verifying IL assemblies. More information: https://manned.org/sn.
-
Generate a new StrongNaming key:
sn -k {{path/to/key.snk}}
-
Re-sign an assembly with the specified private key:
sn -R {{path/to/assembly.dll}} {{path/to/key_pair.snk}}
-
Show the public key of the private key that was used to sign an assembly:
sn -T {{path/to/assembly.exe}}
-
Extract the public key to a file:
sn -e {{path/to/assembly.dll}} {{path/to/output.pub}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.