Hello msyoutube,
public static AppDomain Execute(this AppDomain domain, Action action) { var remote = (RemoteExecutor)domain.CreateInstanceFromAndUnwrap(Assembly.GetExecutingAssembly().Location, typeof(RemoteExecutor).ToString()); remote.Execute(action); return domain; }
You can define the equivalent in your hot app and use it as a simple static method.