ScreenCapturer 1.0.4
See the version list below for details.
dotnet add package ScreenCapturer --version 1.0.4
NuGet\Install-Package ScreenCapturer -Version 1.0.4
<PackageReference Include="ScreenCapturer" Version="1.0.4" />
paket add ScreenCapturer --version 1.0.4
#r "nuget: ScreenCapturer, 1.0.4"
// Install ScreenCapturer as a Cake Addin #addin nuget:?package=ScreenCapturer&version=1.0.4 // Install ScreenCapturer as a Cake Tool #tool nuget:?package=ScreenCapturer&version=1.0.4
ScreenCapturer.MakeScreenshot()
— returning Bitmap
* with next screen snapshot.
ScreenCapturer.StartCapturing(Action<Bitmap>)
— starting screen capture thread with callback function that recieves Bitmap
** as argument. MakeScreenshot
can't be used while active.
ScreenCapturer.StopCapturing()
— stops capturing thread.
ScreenCapturer.DisableCallback()
— will disable callback without stopping capture.
ScreenCapturer.EnableCallback()
— will enable callback if it was disabled.
ScreenCapturer.DisposeVariables()
— disposes some memoized static variables, should be used before program is terminated.
* MakeScreenshot
uses same Bitmap
variable for all calls, so do not change its state, use only for read and note probably it's not thread safe.
** You must manually dispose Bitmap
that is passed as argument to capture callback function, becase GC likes to leave those objects alive (unless you call GC.Collect()
, but you probably shouldn't) and you will run into out of memory exception.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5
- SharpDX (>= 4.2.0)
- SharpDX.Direct3D11 (>= 4.2.0)
- SharpDX.DXGI (>= 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.