public ProcessLogic()
        {
            CachedProcesses = new SyncProcessCache();

            _winEventProc = new Native.WinEventDelegate(WinEventProc);

            GC.KeepAlive(_winEventProc);

            taskbarList = new TaskbarList.TaskbarList();
            taskbarList.HrInit();
        }
Exemplo n.º 2
0
 private ProcessMonitor()
 {
     _winEventProc = new Native.WinEventDelegate(WinEventProc);
     GC.KeepAlive(_winEventProc);
 }