private void Setup(NETProcess process) { factory?.Dispose(); target?.Dispose(); target = new ProcessSharp(process, MemoryType.Remote); factory = new AssemblyFactory(target, this); attach = false; }