mirror of
https://github.com/DarthAffe/ScreenCapture.NET.git
synced 2025-12-13 05:48:39 +00:00
Updated readme
This commit is contained in:
parent
0d8284f682
commit
e9d09277de
@ -5,9 +5,6 @@ NuGet: https://www.nuget.org/packages/ScreenCapture.NET
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```csharp
|
```csharp
|
||||||
// Sets the DPI-awareness of the application - this is required for capturing.
|
|
||||||
DPIAwareness.Initalize();
|
|
||||||
|
|
||||||
// Create a screen-capture service
|
// Create a screen-capture service
|
||||||
IScreenCaptureService screenCaptureService = new DX11ScreenCaptureService();
|
IScreenCaptureService screenCaptureService = new DX11ScreenCaptureService();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user