sn [-q-quiet]
Options:-
-c [
Set/reset the name of the CSP to use for MSCORSN operations.
-d
Delete key container named
-D
Verify
-e
Extract public key from
-i
Install key pair from
-k [
Generate a new key pair of the specified size and write it into
-m [yn]
Enable (y), disable (n) or check (no parameter) whether key containers
are machine specific (rather than user specific).
-o
Convert public key in
list of decimal byte values.
If
-p
Extract public key from key pair in
-pc
Extract public key from key pair in
-Pb [yn]
Enable (y), disable (n) or check (no parameters) the CLR policy allowing
trusted applications to bypass strong name signature verification on their
assemblies.
-q
Quiet mode. This option must be first on the command line and will suppress
any output other than error messages.
-R[a]
Re-sign signed or partially signed assembly with the key pair in
If -Ra is used, hashes are recomputed for all files in the assembly.
-Rc[a]
Re-sign signed or partially signed assembly with the key pair in the key
container named
If -Rca is used, hashes are recomputed for all files in the assembly.
-Rh
Re-compute hashes for all files in the assembly.
-t[p]
Display token for public key in
itself if -tp is used).
-T[p]
Display token for public key of
itself if -Tp is used).
-TS
Test-sign signed or partially signed assembly with the key pair in
-TSc
Test-sign signed or partially signed assembly with the key pair in the key
container named
-v[f]
Verify
specified, force verification even if disabled in the registry.
-Vl
List current settings for strong name verification on this machine.
-Vr
Register
separated list of usernames for which this will take effect and an
optional test public key in
indicate that all assemblies with the given public key token. Public key
tokens should be specified as a string of hex digits.
-Vu
Unregister
-Vx
Remove all verification skipping entries.
-?
-h
Displays this help text.
Ex:-
sn -R "aeembly name.dll" "keyfile.snk"
For more Info:-
http://msdn.microsoft.com/en-us/library/k5b5tt23.aspx