I am invoking one of the functions from assembly but I am getting MissingMethodException. I have open exe in .netreflector and show that function is available at right place though it is giving error. Here is the code.
private void button2_Click(object sender, EventArgs e)
{
Assembly obj = Assembly.LoadFrom("Solo4O.exe");
Type datacrypt = obj.GetType("Orch.DC");
object[] objects = new object[3];
....
datacrypt.InvokeMember("GetCryptedXML", BindingFlags.InvokeMethod |
BindingFlags.Static |
BindingFlags.Public,
null, datacrypt, objects, null);
}