CSharp examples for System.Reflection:Assembly
Get Assemblies In Folder
using System.Reflection; using System.Linq; using System.IO;// ww w. jav a 2s .c o m using System.Diagnostics; using System.Collections.Generic; using System; public class Main{ private static string[] GetAssembliesInFolder(string assemblyPrefix) { string baseFolder = GetAppAssembliesFolder(); Trace.TraceInformation("Directorio base de los assemblies:: " + baseFolder); return Directory.GetFiles(baseFolder, assemblyPrefix + "*.dll"); } }