Skip to content

Commit 92af83c

Browse files
author
Jim.Jiang
committed
Revert "Add handle property"
This reverts commit 94e1160.
1 parent 94e1160 commit 92af83c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/DotnetDumpMonitor/Models/ProcessDumpInfo.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
1-
using DotnetDumpMonitor.Commons;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
4-
using System.Diagnostics;
53
using System.Linq;
6-
using System.Runtime.InteropServices;
74
using System.Text;
85
using System.Threading.Tasks;
96

107
namespace DotnetDumpMonitor.Models
118
{
129
public class ProcessDumpInfo
1310
{
14-
1511
public int ProcessID { get; }
1612
public string Name { get; }
17-
public IntPtr Handle { get; }
1813

1914
public ProcessDumpInfo(int processID, string name)
2015
{
2116
ProcessID = processID;
22-
Handle = WindowsHelper.GetRootWindowOfProcess(processID);
2317
Name = name;
2418
}
2519

0 commit comments

Comments
 (0)