public void ReloadModule(string mName) { Module module = GetModuleByName(mName); DetachModule(module); EXEC.AttachModule(File.ReadAllBytes(module.ModuleAssembly.Location)); }
static void Main(string[] args) { exec = new Executer(); exec.Initialize(true, ""); exec.AttachModule(Assembly.GetExecutingAssembly()); Interactor = new Interactor(); Interactor.Logger = new ConsoleLogger(); Interactor.Simulate(); for (; ;) { exec.CommandHandler(Console.ReadLine()); } //Task.Delay(-1).Wait(); }