Writing a simple Windows Process Logger in C#(mycsharpcorner.com)
submitted by
yousefla(675) 5 years, 1 month ago
Here is a quick C# script to log the start and end times of running processes on your machine.
The idea is query the currently running processes every x number of seconds utilizing the Process.GetProcesses function in .NET, while maintaining a book for currently running processes each cycle, then if a new process appears (or disappears), you log the result as start and end respectively.
|category: C#
|Views: 198
tags:
Logger Process C# another
Everyones tags:
Your Tags: