Friday, January 15, 2016

Get Windows .DLL Information via The Command Line / Powershell

get public key using sn.exe = strong name util

"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\sn.exe" -Tp "path_to_dll"

get version info, from the powershell prompt

[System.Reflection.Assembly]::LoadFrom("path_to_dll").GetName().Version

No comments:

Post a Comment

comment: