aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Experiments/Tango.RemoteDesktop/WpfApp1/MainWindow.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Experiments/Tango.RemoteDesktop/WpfApp1/MainWindow.xaml.cs')
-rw-r--r--Software/Experiments/Tango.RemoteDesktop/WpfApp1/MainWindow.xaml.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Experiments/Tango.RemoteDesktop/WpfApp1/MainWindow.xaml.cs b/Software/Experiments/Tango.RemoteDesktop/WpfApp1/MainWindow.xaml.cs
index 6bd0b7a23..7953e9666 100644
--- a/Software/Experiments/Tango.RemoteDesktop/WpfApp1/MainWindow.xaml.cs
+++ b/Software/Experiments/Tango.RemoteDesktop/WpfApp1/MainWindow.xaml.cs
@@ -40,8 +40,9 @@ namespace WpfApp1
_engine = new RasterScreenCaptureEngine()
{
- CaptureRegion = new CaptureRegion(0, 0, 1280, 800)
+ CaptureRegion = new CaptureRegion(1920 + 1920, 0, 1280, 800)
};
+ _engine.CaptureMethod = new GdiScreenCapture();
_engine.FrameRate = 5; //Per second
_engine.CaptureCursor = true;
_engine.FrameReceived += _engine_FrameReceived;