![Nuget](https://camo.githubusercontent.com/58889120a0a2fd10e49a9e14937ce23255a45efef3332bbb31371a53ebb5188e/68747470733a2f2f696d672e736869656c64732e696f2f6e756765742f762f70726f746f666163652e4465736b746f7043617074757265)
A easy-to-use library to efficiently record a screen (Windows-only)
using System.Drawing;
using DesktopCapture;
DesktopDuplicator dd = new();
Bitmap bmp = dd.GetLatestFrame(out bool isNew);
Constructor |
Description |
new DesktopDuplicator() |
Uses the primary screen as the capture-source |
new DesktopDuplicator(int graphicsCard) |
Uses the first output coming from that GPU |
new DesktopDuplicator(int output) |
Uses the nth output from the first GPU |
new DesktopDuplicator(int graphicsCard, int output) |
Uses the nth output from the nth GPU |
Method |
returns |
Description |
GetLatestFrame |
Bitmap / bool |
Retrieves the latest frame in full resolution and indicates wether the frame has been retrieved before |
GetLatestFrameHalfRes |
Bitmap / bool |
Retrieves the latest frame in full resolution and indicates wether the frame has been retrieved before |