|
Detecting If Another Instance of an Application Is Running
|
bet | 28/49 | Sana | 29.03.2021 | Hajmi | 197,5 Kb. | | #13691 |
Detecting If Another Instance of an Application Is Running
For certain management tools or utilities, only one instance of the application should run on the server at a time. An example is a disk defragmenter, or a tool that monitors system resources such as hard drive space, memory, or I/O. Code can be used to detect if another instance of the application is already running under Terminal Services, so that initiation of another application process does not happen. See Appendix B for this code.
|
| |