Example #1
0
        public virtual void RequestScreenshot(ScreenshotRequestEventArgs e, bool fullscreen)
        {
            if (!this.ConnectedClients.Contains(e.ClientSystemId))
            {
                this.ConnectedClients.Add(e.ClientSystemId);
            }

            refreshThread.Start();
        }
Example #2
0
        public void RequestScreenshot(ScreenshotRequestEventArgs e, Boolean fullscreen)
        {
            if (_RunningAsService && (DateTime.Now - LastDeskSwitch).TotalMilliseconds > 1000)
            {//only a program running as under the account     nt authority\system       is allowed to switch desktops
                //Driver.Clear();
                _DesktopInfo.SwitchToInputDesktop();

                LastDeskSwitch = DateTime.Now;
            }
            Driver.RequestScreenshot(e, fullscreen);
        }
Example #3
0
 private void HostListener_OnScreenshotRequest(object sender, ScreenshotRequestEventArgs e)
 {
     Display.RequestScreenshot(e, e.Fullscreen);
 }
Example #4
0
 public void RequestScreenshot(ScreenshotRequestEventArgs e, Boolean fullscreen)
 {
     Driver.RequestScreenshot(e, fullscreen);
 }