Nov 12, 2009

Public Key Token of an assembly

Nov 12, 2009

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.

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

Just wanted to share.


Post a Comment

Top Ad 728x90