public ProcessVM(int pid, string title, Machine machine, CLRTypeAttachInfo type, string fullPath) { this.fullPath = fullPath; this.pid = pid; this.title = title; this.machine = machine; this.clrVersion = type.Version; this.type = type; }
public ProcessVM(int pid, string title, Machine machine, CLRTypeAttachInfo type, string fullPath, IProcessContext context) { FullPath = fullPath; PID = pid; Title = title; Machine = machine; CLRVersion = type.Version; CLRTypeInfo = type; Context = context; }
public Info(Process process, string clrVersion, CLRTypeAttachInfo type) { ProcessId = process.Id; Machine = IntPtr.Size == 4 ? Machine.I386 : Machine.AMD64; Title = string.Empty; FullPath = string.Empty; Type = type; try { Title = process.MainWindowTitle; } catch { } try { FullPath = process.MainModule.FileName; } catch { } }