Exemplo n.º 1
0
 public void listenOnProcess(string processname, Action <object, object> callback)
 {
     OutputDebugStringManager.Callback = OnOutputDebugString;
     Task.Run(() => {
         OutputDebugStringManager.ListenOnProcess(processname, callback);
     });
 }
Exemplo n.º 2
0
 public void stopProcesseListen(string processname, Action <object, object> callback)
 {
     Task.Run(() => {
         OutputDebugStringManager.StopListenOnProcess(processname, callback);
     });
 }