Monday, 11 March 2013

Read PublicKey from Assembly using sn.exe

To get PublicKey for assembly we need to use sn.exe SKD provided by microsoft.

Run a Visual Studio 2008/10 command prompt (Visual Studio Tool + Visual Studio 2008/10 Command Prompt from the “Start” menu).
  1. Enter the following command:
sn -Tp "C:/myassembly.dll"
Where “myassembly.dll” is the name of the signed assembly.


sn -Tp (assembly full path)

No comments:

Post a Comment