Retrieving a List of Referenced Assemblies
using System; using System.Reflection; public class MainClass { static void Main() { Assembly EntryAssembly; EntryAssembly = Assembly.GetEntryAssembly(); foreach(AssemblyName Name in EntryAssembly.GetReferencedAssemblies()){ Console.WriteLine("Name: {0}", Name.ToString()); } } }