mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 02:57:22 +00:00
Update cheatsheets
This commit is contained in:
25
sn
Normal file
25
sn
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user