mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 07:46:02 +02:00
sn: add page (#2744)
This commit is contained in:
parent
47714527a6
commit
ebdcd30566
1 changed files with 19 additions and 0 deletions
19
pages/common/sn.md
Normal file
19
pages/common/sn.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# sn
|
||||||
|
|
||||||
|
> Mono StrongName utility for signing and verifying IL assemblies.
|
||||||
|
|
||||||
|
- 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/keypair.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}}`
|
Loading…
Add table
Reference in a new issue