Ejemplo n.º 1
0
		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;
		}
Ejemplo n.º 2
0
		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;
		}
Ejemplo n.º 3
0
			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 { }
			}