.NET No Bullshit Assembly Signing Instructions

Prep

First, you need sn tool, which is usually located at C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\sn.exe on Windows.

Create .snk

sn -k fake.snk

creates fake.snk in current directory

Getting Public Key

Getting public key and token:

❯❯❯ sn -Tp .\Stowage.dll

Microsoft (R) .NET Framework Strong Name Utility  Version 4.0.30319.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Public key (hash algorithm: sha1):
002400000480000094000000060200000024000052534131000400000100010035dfbf7921901e
33280552543790b93e92d477343b27fc532a740bb007d8fb23e6f1e2965a01095133f86f323d57
0f296189ff0f59bbc8a809e815d66aa0ba36cd15ff2ac7e596d53084200d0e1443038e4dc3cb3d
b5998f646199c11d1a5b234eea0545a9caab85c2d52b406c58419f749ffe6d1a5c703f1f838280
6f8b1ccd

Public key token is d380b3dee6d01926

Thanks! You can always email me or use contact form for more questions/comments etc.