Iterate GAC Assemblies

P

pa.singer

From within a C# application (Visual Studio 2005), I want to
programatically iterate the list of GAC Assemblies used by the
program, and view the Assembly versions. Can anyone provide me with
information, and/or a link, that will help me perform this task?

Thank you...
 
S

Samuel R. Neff

Use

AppDomain.CurrentDomain.GetAssemblies()

then when looping through the assemblies youc an check their
GlobalAssemblyCache property.

HTH,

Sam

------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top