protoface.DesktopCapture 1.1.1

dotnet add package protoface.DesktopCapture --version 1.1.1                
NuGet\Install-Package protoface.DesktopCapture -Version 1.1.1                
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.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add protoface.DesktopCapture --version 1.1.1                
#r "nuget: protoface.DesktopCapture, 1.1.1"                
#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.1.1

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

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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.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 563 10/9/2022
1.1.0 402 10/9/2022
1.0.4 393 10/7/2022
1.0.3 393 10/4/2022
1.0.2 396 10/4/2022
1.0.1 382 10/3/2022
1.0.0 386 10/2/2022

Added support for newer versions of .net