I have a WPF application that acts like some kind of 'loader' and with that loader I get a byte[]
from my SQL server and I invoke that method like this:
Assembly assembly = Assembly.Load(bin);
MethodInfo method = assembly.EntryPoint;
method.Invoke(null, null);
How ever, that will start the new process inside the loader process but when the application been loaded I would like to close the loader. Can I somehow invoke my method as a new procees / inside another process?