I wanna detect the version of installed Visual Basic Power Packs in target system.
How can I do it with Registry values (Windows from Win XP)?
Or, How can I check the version of Visual Basic Power Packs assembly , e.g : how I can check the version of Microsoft.VisualBasic.PowerPacks assembly ?
I wanna detect the version of installed Visual Basic Power Packs in target system.
Share
I don’t know which, if any, registry settings gets written when the power packs gets installed, but an easy way to find out is to set up Process Monitor to monitor all changes on a system and then install the power pack on there and you’ll be able to see everything that gets written.
Edit: To get the version of an assembly, use Assembly.Load or LoadFrom to load it and then get out the AssemblyName using the GetName method and the
AssemblyNamehas a Version property.