 | Setting the System Time Some software applications include the requirement to change the system clock time. This can be achieved using C# by calling a Windows API function. This article describes how to declare and use the SetSystemTime function and related SYSTEMTIME structure. |
 | Detecting Processes that are not Responding If you are developing software that monitors other programs or services, it can be useful to detect when a process has stopped responding to the user. This can easily be achieved using members of the .NET framework's Process class. |
 | Detecting User Inactivity Some software, such as backup utilities, can use a large proportion of processor time and other resources. Often the user is given the option to only run such processes when the computer is not in use. This requires the detection of user inactivity. |
 | Getting the System Up Time Sometimes it is necessary to know how much time has passed since Windows was started. This article demonstrates two ways to obtain this information using the .NET framework and describes the limitations of one of the commonly used methods. |
 | Getting the Current Application's Memory Usage When you are creating an application that can be memory-intensive, it may be useful to monitor the current memory usage. This allows you to modify the behaviour of the program as its RAM requirements increase and to predict out-of-memory exceptions. |
 | Get the Registered User and Organisation When Windows is installed, the user must register a name and, optionally, the name of an organisation. This information is retained by the operating system. When asking for similar details, it is useful to present this information as default values. |
 | Getting the Current Machine Name When an application's user performs certain actions you may want to log details for auditing purposes. For networked software it can be useful to retain the name of the user's local computer. This name can be obtained using the .NET framework. |
 | Detecting Windows Safe Mode Microsoft Windows can start in a special mode known as "Safe Mode". In this mode, certain drivers are disabled and networking may not be available. If your software requires this missing functionality, problems may occur. |
 | Creating a Battery Power Status Monitor Sometimes programs need to know the power status of a computer. An example is Windows Update, which often requires a computer to be running on mains power before updates are installed. This article explains how to read the power status and battery life. |
 | Reading Environment Variable Values All Microsoft Windows operating systems include configuration options that are held in environment variables. These contain settings such as default folder paths, user information and computer and operating system details. They can be accessed using C#. |
|
|