protoface.DesktopCapture 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package protoface.DesktopCapture --version 1.0.4                
NuGet\Install-Package protoface.DesktopCapture -Version 1.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="protoface.DesktopCapture" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add protoface.DesktopCapture --version 1.0.4                
#r "nuget: protoface.DesktopCapture, 1.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install protoface.DesktopCapture as a Cake Addin
#addin nuget:?package=protoface.DesktopCapture&version=1.0.4

// Install protoface.DesktopCapture as a Cake Tool
#tool nuget:?package=protoface.DesktopCapture&version=1.0.4                

DesktopCapture

A easy-to-use library to efficiently record a screen (Windows-only)

Usage


using System.Drawing;
using DesktopCapture;

DesktopDuplicator dd = new();

Bitmap bmp = dd.GetLatestFrame(out bool isNew);


Documentation

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
Product Compatible and additional computed target framework versions.
.NET Framework net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 560 10/9/2022
1.1.0 400 10/9/2022
1.0.4 391 10/7/2022
1.0.3 389 10/4/2022
1.0.2 392 10/4/2022
1.0.1 380 10/3/2022
1.0.0 384 10/2/2022

Built in Release