26 Aou 2008
// First load the assembly System.Reflection.Assembly assembly = System.Reflection.Assembly.Load( “MyAssemblyDll, Version=1.0.0.0, Culture=Neutral, PublicKeyToken=A20C0156G53B31T6″); // Select the “Class” and the Method System.Reflection.MethodInfo myMethod = assembly.GetType(”MyCompany.MyApp”).GetMethod(”MyMethod”); // Then create an object for the parameters Object[] parameters = new Object[2]; ...
Lire la suite