How to find public key token of a .Net assembly

There are instances we need to find the Public key token for a strongly names assembly. One instance is when you want to put the assembly reference in a configuration file. Follow the following steps to retrieve the public key token.
  1. Open Microsoft Visual Studio command prompt
image
  1. Type the command sn –T [assemblyname].dll
image
  1. Once you press enter it will list the public key token of the given assembly.
image
Its simple as that Smile

Comments

Popular posts from this blog

How to get SharePoint dll version using JavaScript quickly

SharePoint App Only Registration Key Renewal script