Thursday, January 24, 2013

Generating Public key token


Many times we need to get the Public key token for a strongly named assembly in .NET.  “how to get the public key token?”. Answer is very simple use the .NET Framework tools sn.exe. So open the Visual Studio 2008 Command Prompt and then point to the dll’s folder you want to get the public key,

I have used the following command, for generating public key token for a SharePoint project
sn.exe –T SPExcercise1.dll
Public key token is d95388ccbe5ad4c1
This will give you the public key token. 
Remember one thing this only works if the assembly has to be strongly signed.

2 comments:

  1. Hey! I know this is somewhat off topic but I was wondering if you knew where I could locate a captcha plugin for
    my comment form? I'm using the same blog platform as yours and I'm having problems finding one?
    Thanks a lot!
    Here is my web-site - buy instagram followers

    ReplyDelete
  2. you can add out of the box captcha, available in blog site or integrate available Captcha solutions from CodePlex.

    ReplyDelete

Earn Money ! Affiliate Program
Open Directory Project at dmoz.org