O'Reilly logo

C# for Java Developers by Adam Freeman, Allen Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required