Process Methods
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | BeginErrorReadLine() | Begins asynchronous read operations on the redirected StandardError stream of the application. |
![]() | BeginOutputReadLine() | Begins asynchronous read operations on the redirected StandardOutput stream of the application. |
![]() | CancelErrorRead() | Cancels the asynchronous read operation on the redirected StandardError stream of an application. |
![]() | CancelOutputRead() | Cancels the asynchronous read operation on the redirected StandardOutput stream of an application. |
![]() | Close() | Frees all the resources that are associated with this component. |
![]() | CloseMainWindow() | Closes a process that has a user interface by sending a close message to its main window. |
![]() | CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.) |
![]() | Dispose() | |
![]() | Dispose(Boolean) | This API supports the product infrastructure and is not intended to be used directly from your code. Release all resources used by this process.(Overrides Component.Dispose(Boolean).) |
![]() ![]() | EnterDebugMode() | Puts a Process component in state to interact with operating system processes that run in a special mode by enabling the native property SeDebugPrivilege on the current thread. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | |
![]() ![]() | GetCurrentProcess() | Gets a new Process component and associates it with the currently active process. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() ![]() | GetProcessById(Int32) | Returns a new Process component, given the identifier of a process on the local computer. |
![]() ![]() | GetProcessById(Int32, String) | Returns a new Process component, given a process identifier and the name of a computer on the network. |
![]() ![]() | GetProcesses() | Creates a new Process component for each process resource on the local computer. |
![]() ![]() | GetProcesses(String) | Creates a new Process component for each process resource on the specified computer. |
![]() ![]() | GetProcessesByName(String) | Creates an array of new Process components and associates them with all the process resources on the local computer that share the specified process name. |
![]() ![]() | GetProcessesByName(String, String) | Creates an array of new Process components and associates them with all the process resources on a remote computer that share the specified process name. |
![]() | GetService(Type) | |
![]() | GetType() | |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | Kill() | Immediately stops the associated process. |
![]() ![]() | LeaveDebugMode() | Takes a Process component out of the state that lets it interact with operating system processes that run in a special mode. |
![]() | MemberwiseClone() | |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.) |
![]() | OnExited() | Raises the Exited event. |
![]() | Refresh() | Discards any information about the associated process that has been cached inside the process component. |
![]() | Start() | |
![]() ![]() | Start(ProcessStartInfo) | Starts the process resource that is specified by the parameter containing process start information (for example, the file name of the process to start) and associates the resource with a new Process component. |
![]() ![]() | Start(String) | Starts a process resource by specifying the name of a document or application file and associates the resource with a new Process component. |
![]() ![]() | Start(String, String) | Starts a process resource by specifying the name of an application and a set of command-line arguments, and associates the resource with a new Process component. |
![]() ![]() | Start(String, String, SecureString, String) | Starts a process resource by specifying the name of an application, a user name, a password, and a domain and associates the resource with a new Process component. |
![]() ![]() | Start(String, String, String, SecureString, String) | Starts a process resource by specifying the name of an application, a set of command-line arguments, a user name, a password, and a domain and associates the resource with a new Process component. |
![]() | ToString() | Formats the process's name as a string, combined with the parent component type, if applicable.(Overrides Component.ToString().) |
![]() | WaitForExit() | Instructs the Process component to wait indefinitely for the associated process to exit. |
![]() | WaitForExit(Int32) | Instructs the Process component to wait the specified number of milliseconds for the associated process to exit. |
![]() | WaitForInputIdle() | Causes the Process component to wait indefinitely for the associated process to enter an idle state. This overload applies only to processes with a user interface and, therefore, a message loop. |
![]() | WaitForInputIdle(Int32) | Causes the Process component to wait the specified number of milliseconds for the associated process to enter an idle state. This overload applies only to processes with a user interface and, therefore, a message loop. |


