Exemplo n.º 1
0
 public void Stop()
 {
     _cancelTokenSource.Cancel();
     _cancelTokenSource.Dispose();
     _keystrokeAPI.RemoveKeyboardHook();
     _keystrokeAPI.RemoveMouseHook();
     _trackKeystrokeService.StopTracking();
     _trackMouseClickService.StopTracking();
 }