2 references to TryGetProcessById
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\ParentProcessWatcher.cs (1)
33if (Process.TryGetProcessById(_parentPid, out var parent))
System.Diagnostics.Process (1)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (1)
111/// This API opens the handle immediately. In contrast, <see cref="Process.TryGetProcessById(int, out Process)"/> only checks