Пример #1
0
 internal static void DisableAntiBoss()
 {
     if (_activityHooker != null)
     {
         _activityHooker.Stop(false, true, false);
         _activityHooker = null;
     }
 }
Пример #2
0
 internal void EnableAntiBoss()
 {
     _activityHooker = new UserActivityHook();
     _activityHooker.KeyDown += _activityHooker_KeyDown;
     _activityHooker.KeyUp += _activityHooker_KeyUp;
     _activityHooker.Start(false, true);
 }