Does anyone know of a way to view the public key token on a DLL? I'm investigating a possible mismatch between what is expected in code and what is being built.
Thanks in advance, It Grunt
Use
Assembly.GetExecutingAssembly().GetName().GetPublicKeyToken();
or
sn -T YourAssembly.dll
sn -Tp assembly.dll
will tell you what you need to know
I started using ILSpy, alternative for Reflector.NET. After opening dll, you can view public key token, version and more.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With