Esempio 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;
		}
Esempio 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;
		}
Esempio 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 { }
			}