Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Say you've signed your assembly with a strong name, and you need to get the information about the PublicKeyToken. Now there are many tools available out there that gets you this info such as the .NET Reflector. However if you are too lazy to download a utility to help you do this, there is a quick and easy way to punch a few commands at the command prompt to reveal your public key token. These are the few easy steps to do so.
Anonymous
November 15, 2006
How about:
sn.exe -T <assembly>
Anonymous
September 22, 2010
Patrick's suggestion works fine for my case. Thanks.
"C:Program FilesMicrosoft Visual Studio 8SDKv2.0Binsn.exe" -T MyAssemblyName.dll
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in