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