internal static void DisableAntiBoss() { if (_activityHooker != null) { _activityHooker.Stop(false, true, false); _activityHooker = null; } }
internal void EnableAntiBoss() { _activityHooker = new UserActivityHook(); _activityHooker.KeyDown += _activityHooker_KeyDown; _activityHooker.KeyUp += _activityHooker_KeyUp; _activityHooker.Start(false, true); }