3 instantiations of SafeProcessHandle
System.Diagnostics.Process (3)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (1)
20internal static readonly SafeProcessHandle InvalidHandle = new SafeProcessHandle();
System\Diagnostics\Process.Unix.cs (2)
359return new SafeProcessHandle(_processId, GetSafeWaitHandle()); 534SetProcessHandle(new SafeProcessHandle(_processId, GetSafeWaitHandle()));
10 references to SafeProcessHandle
netstandard (1)
netstandard.cs (1)
13[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeProcessHandle))]
PresentationCore (1)
MS\Internal\DpiUtil\DpiUtil+ProcessDpiAwarenessHelper.cs (1)
107using (var hProcess = new SafeProcessHandle(UnsafeNativeMethods.OpenProcess(NativeMethods.PROCESS_ALL_ACCESS, false, windowThreadProcessId), true))
System (1)
src\libraries\shims\System\ref\System.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.SafeProcessHandle))]
System.Diagnostics.Process (7)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (1)
20internal static readonly SafeProcessHandle InvalidHandle = new SafeProcessHandle();
System\Diagnostics\Process.cs (4)
30private SafeProcessHandle? _processHandle; 121public SafeProcessHandle SafeHandle 1188private SafeProcessHandle GetOrOpenProcessHandle() 1204private void SetProcessHandle(SafeProcessHandle processHandle)
System\Diagnostics\Process.Unix.cs (1)
349private SafeProcessHandle GetProcessHandle()
System\Diagnostics\ProcessManager.Unix.cs (1)
60public static int GetProcessIdFromHandle(SafeProcessHandle processHandle)