protoface.DesktopCapture
1.0.4
There is a newer version of this package available.
See the version list below for details.
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
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 Framework | net481 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8.1
- SharpDX.Direct3D11 (>= 4.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Built in Release