App Domain Used Assemblies C# with Example
using System; using System.Linq; using System.Diagnostics; using System.Reflection; namespace CSharpMultiThreading { class ApplicationDomain { static void Main(string[] args) { DisplayDADStats(); } public static void DisplayDADStats() { // Get access to the AppDomain for the current thread. AppDomain defaultAD = AppDomain.CurrentDomain; Assembly[] loadedAssemblies = defaultAD.GetAssemblies(); foreach(Assembly a in loadedAssemblies) { Console.WriteLine("-> Name: {0}", a.GetName().Name); Console.WriteLine("-> Version: {0}\n", a.GetName().Version); } } } }