protoface.DesktopCapture
1.1.1
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Framework 4.8.1
This package targets .NET Framework 4.8.1. The package is compatible with this framework or higher.
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
- System.Drawing.Common (>= 0.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added support for newer versions of .net