<PackageReference Include="NETStandard.Library" Version="2.0.2" />

System.Diagnostics.Process

public class Process : Component
namespace System.Diagnostics { public class Process : Component { public int BasePriority { get; } public bool EnableRaisingEvents { get; set; } public int ExitCode { get; } public DateTime ExitTime { get; } public IntPtr Handle { get; } public int HandleCount { get; } public bool HasExited { get; } public int Id { get; } public string MachineName { get; } public ProcessModule MainModule { get; } public IntPtr MainWindowHandle { get; } public string MainWindowTitle { get; } public IntPtr MaxWorkingSet { get; set; } public IntPtr MinWorkingSet { get; set; } public ProcessModuleCollection Modules { get; } public int NonpagedSystemMemorySize { get; } public long NonpagedSystemMemorySize64 { get; } public int PagedMemorySize { get; } public long PagedMemorySize64 { get; } public int PagedSystemMemorySize { get; } public long PagedSystemMemorySize64 { get; } public int PeakPagedMemorySize { get; } public long PeakPagedMemorySize64 { get; } public int PeakVirtualMemorySize { get; } public long PeakVirtualMemorySize64 { get; } public int PeakWorkingSet { get; } public long PeakWorkingSet64 { get; } public bool PriorityBoostEnabled { get; set; } public ProcessPriorityClass PriorityClass { get; set; } public int PrivateMemorySize { get; } public long PrivateMemorySize64 { get; } public TimeSpan PrivilegedProcessorTime { get; } public string ProcessName { get; } public IntPtr ProcessorAffinity { get; set; } public bool Responding { get; } public SafeProcessHandle SafeHandle { get; } public int SessionId { get; } public StreamReader StandardError { get; } public StreamWriter StandardInput { get; } public StreamReader StandardOutput { get; } public ProcessStartInfo StartInfo { get; set; } public DateTime StartTime { get; } public ISynchronizeInvoke SynchronizingObject { get; set; } public ProcessThreadCollection Threads { get; } public TimeSpan TotalProcessorTime { get; } public TimeSpan UserProcessorTime { get; } public int VirtualMemorySize { get; } public long VirtualMemorySize64 { get; } public int WorkingSet { get; } public long WorkingSet64 { get; } public event DataReceivedEventHandler ErrorDataReceived; public event EventHandler Exited; public event DataReceivedEventHandler OutputDataReceived; public Process(); public void BeginErrorReadLine(); public void BeginOutputReadLine(); public void CancelErrorRead(); public void CancelOutputRead(); public void Close(); public bool CloseMainWindow(); public static void EnterDebugMode(); public static Process GetCurrentProcess(); public static Process GetProcessById(int processId); public static Process GetProcessById(int processId, string machineName); public static Process[] GetProcesses(); public static Process[] GetProcesses(string machineName); public static Process[] GetProcessesByName(string processName); public static Process[] GetProcessesByName(string processName, string machineName); public void Kill(); public static void LeaveDebugMode(); protected void OnExited(); public void Refresh(); public bool Start(); public static Process Start(ProcessStartInfo startInfo); public static Process Start(string fileName); public static Process Start(string fileName, string arguments); public static Process Start(string fileName, string userName, SecureString password, string domain); public static Process Start(string fileName, string arguments, string userName, SecureString password, string domain); public void WaitForExit(); public bool WaitForExit(int milliseconds); public bool WaitForInputIdle(); public bool WaitForInputIdle(int milliseconds); } }