O'Reilly logo

Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) by Priti Kalani, Amit Kalani, Kalani Kirk Hausman

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

The Process Class

When an application is executed, it creates a process. Each process consumes memory and other system resources, and is uniquely identified by a process identifier (PID). The System.Diagnostics namespace includes a Process class. The methods of the Process class can be used to start and stop running processes, and its properties can be used to obtain information about running processes.

Starting and Stopping Processes

The Start method of the Process class can be used to start an instance of the target process, using startup information specified in the StartInfo property to allow runtime configuration of the application's environment. The Process class also includes two methods that can be used to terminate a running process: ...

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