Introduction

The System.Diagnostics namespace provides various classes that help in managing and monitoring Windows applications. This chapter focuses on the following three important classes:

  • Process The Process class provides information about the processes that are running on a computer. You can also use this class to access process information for computers across the network. The Process class also facilitates starting and stopping a process on a local computer.

  • EventLog The EventLog class provides functionality to read and write information to the Windows event log. An application can monitor an event log to take actions when an entry is written to the log. An application may also publish its own events that may be of interest to other ...

Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET 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.