Skip to main content

Public Key Token of an assembly

There are times when you need to get the public key token of an assembly. Okay the only time is when you need to put in config files. The answers is same old sn.exe. That's right the same .NET strong name tool we use to generate snk files.

Usage:
sn -T helloWorld.dll
This gives you the public key token of the strong named assembly.

Just wanted to share.

Comments