mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Process Monitor - initial POC implementation
This is probably overengineered. The same could be done cross platform only using Processes.GetProcesses. I did it this way because initially i wanted to use Wmi events for process start and stop. This requires admin though, so i decided to not use it.
This commit is contained in:
1 parent
fa26e6b7da
commit
c9ee37ece8
7 files changed
+171
-1
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Artemis.Core.Services
|
||||
{
|
||||
public class ProcessEventArgs : EventArgs
|
||||
{
|
||||
public string ProcessName { get; }
|
||||
|
||||
public ProcessEventArgs(string name)
|
||||
{
|
||||
ProcessName = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user