Thursday, December 4, 2008

What is a quick way to get a .NET assembly's PublicKeyToken?

The quick and dirty way is to go into the .NET command prompt and type the following:


sn -T MyDotNetAssembly.dll

The above utilizes the strong name utility that comes with the .NET Framework.

No comments:

Post a Comment