Process Control

The .NET Framework provides extensive capabilities to manipulate processes on both the local and remote machines. The Process class of the System.Diagnostics namespace provides an association through which to query and control an underlying system process.

Creating New Processes

There are two approaches for creating new system processes using the Process class. Both approaches work only on the local machine; processes cannot be created on remote machines. The first approach is to instantiate a Process object, set the necessary configuring information via the StartInfo property, and call Start on the Process instance. The StartInfo property takes a System.Diagnostics.ProcessStartInfo instance that encapsulates configuration information ...

Get C# for Java Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.