Your strategic advantage starts here

Getting the Public Key Token of an Assembly using Powershell

Getting the Public Key Token of an Assembly using Powershell

This post provides an example of getting the public key token of an assembly using PowerShell.

When I need to add definitions to the web.config of my ASP.Net projects I often use this Powershell line to get the PublicKeyToken, Culture and Version etc.

([system.reflection.assembly]::loadfile("C:\AlkaneSolutions.dll")).FullName

Running this will yield a similar output to the following:

AlkaneSolutions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=aa13051522563c02

Related Posts
Leave a Reply
Give us a call

Available from 9am to 8pm, Monday to Friday.

Send us a message

Send your message any time you want.

Our usual reply time: 1 Business day
Give us a call

Available from 9am to 8pm, Monday to Friday.

Send us a message

Send your message any time you want.

Our usual reply time: 1 Business day