Application Check

Finding and Listing Processes
Download

Application Check Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Salysle
  • Publisher web site:
  • http://www.codeproject.com/Members/salysle
  • Operating Systems:
  • Windows All
  • File Size:
  • 43 KB

Application Check Tags


Application Check Description

The Application Check application wa developed to be a small tool which includes a collection of methods that may be used to search for specific processes using different criteria or to list out running processes. Such information may be useful for a variety of reason, for example, if an application is dependent upon another application and that primary application must be up and running as a precursor to launching the dependent application, the methods contained in this demonstration will permit the code to test for the presence of the primary application prior to loading the dependent application. If, for example, an application were dependent upon a running copy of calc.exe, the code contained in the demonstration could be used to determine whether or not calc.exe was running prior to allowing the dependent application to run. Alternatively, if an application launches other applications, the methods described herein could be used to determine whether or not that application successfully launched. Everything contained in this demonstration is based upon the use of the Framework System.Management library. Aside from what is described in this demonstration, there are many other useful things that may be accomplished through the use of this library, for example one may start or kill processes using elements from System.Management. This demonstration includes a class containing several methods used to either generate a list of applications or processes running on a machine, or to search for specific processes by means of different search criteria such as the application name, the process name, the process ID, or the process image name. The list related methods also provide information regarding other details about the process such as the memory size or caption bar title. What is demonstrated is only a small subset of the information available.


Application Check Related Software