High performance native APIs enable real-time recording of screens, webcams, bitmaps and audio with no system lag, compatible with C#, C++, and VB.NET, no dependencies on external runtime libraries or packages.
$ dotnet add package ScreenRecorderSDKHigh performance native APIs enable real-time recording of screens, webcams, bitmaps and audio with no system lag, compatible with C#, C++, and VB.NET, no dependencies on external runtime libraries or packages.
ZD Screen Recorder SDK is a feature-rich screen recording software development library that empowers your software with advanced screen recording functionalities, including an innovative multi-source recording feature. By integrating this SDK, developers can swiftly implement professional-level screen recording capabilities, saving significant time and costs compared to developing such features from scratch. Opt for ZD Screen Recorder SDK to elevate your application's capabilities efficiently and cost-effectively. This SDK not only adds advanced features but also ensures stability, professional quality, and reduced maintenance efforts. It's an ideal solution for developers seeking to enhance their applications with cutting-edge recording technology, without the overhead of developing and maintaining complex recording features. Empower your application with ZD Screen Recorder SDK - the smart choice for modern, efficient, and easy-to-use screen recording solutions!
ScreenRecorderSDK NuGet package in the NuGet.org repository.ScnLib\bin\x86\*.* for 32-bit systems and ScnLib\bin\x64\*.* for 64-bit systems into the corresponding execution directories of your project.ScnLib\include and ScnLib\lib directories to the source directories of your project, then incorporate them into your project through the IDE's project manager.ZDSoft.SDK.ScnLib_InitializeW("");
ZDSoft.SDK.ScnLib_StartRecording();
ZDSoft.SDK.ScnLib_StopRecording();
ZDSoft.SDK.ScnLib_Uninitialize();
Videos folder, typically found at C:\Users\YourName\Videos\, to view the video you've just recorded..cpp file.#include "ScnLib.h"
#pragma comment(lib, "ScnLib.lib")
ScnLib_InitializeW(NULL);
ScnLib_StartRecording();
ScnLib_StopRecording();
ScnLib_Uninitialize();
Videos folder, typically found at C:\Users\YourName\Videos\, to view the video you've just recorded.ZDSoft.SDK.ScnLib_InitializeW("")
ZDSoft.SDK.ScnLib_StartRecording()
ZDSoft.SDK.ScnLib_StopRecording()
ZDSoft.SDK.ScnLib_Uninitialize()
Videos folder, typically found at C:\Users\YourName\Videos\, to view the video you've just recorded.ScnLib in the uses section as follows:uses Winapi.Windows, System.Classes, ..., ScnLib;
ScnLib_InitializeW('');
ScnLib_StartRecording();
ScnLib_StopRecording();
ScnLib_Uninitialize();
Videos folder, typically found at C:\Users\YourName\Videos\, to view the video you've just recorded.// Switch the layout context to the main screen block and store the
// previous block index
int oldBlock = ScnLib_SetLayoutContext(0);
// Output a separate video for the main screen (OPTIONAL)
ScnLib_SetVideoPathW(L"C:\\Recordings\\Main Screen.mp4");
// Retrieve the main screen video resolution
int videoWidth = 0, videoHeight = 0;
ScnLib_GetVideoResolution(&videoWidth, &videoHeight);
// We are going to align 3 vertically stacked webcam views against
// the right side of the main screen, each is 1/3 of the video height
videoHeight /= 3;
// We prefer webcam views with a 4:3 aspect ratio
videoWidth = videoHeight * 4 / 3;
// Switch the layout context to the webcam view block #1
ScnLib_SetLayoutContext(1);
// Output a separate video for the webcam #1 view (OPTIONAL)
ScnLib_SetVideoPathW(L"C:\\Recordings\\Webcam #1.mp4");
// Assuming there are more than 3 webcam devices connected to the PC,
// select the first webcam device for the webcam #1 view
ScnLib_SelectWebcamDevice(0);
// Align webcam #1 view to the top right corner, offsetting it by its
// width to the right so it appears adjacent to the main screen
ScnLib_SetWebcamPosition(SCNLIB_POSITION_TOP_RIGHT, -videoWidth, 0);
ScnLib_SetWebcamViewSize(videoWidth, videoHeight);
// Switch the layout context to the webcam view block #2
ScnLib_SetLayoutContext(2);
// Output a separate video for the webcam #2 view (OPTIONAL)
ScnLib_SetVideoPathW(L"C:\\Recordings\\Webcam #2.mp4");
// Assuming there are more than 3 webcam devices connected to the PC,
// select the second webcam device for the webcam #2 view
ScnLib_SelectWebcamDevice(1);
// Align webcam #2 view to the right side, also offsetting it by its
// width to the right so it appears adjacent to the main screen
ScnLib_SetWebcamPosition(SCNLIB_POSITION_RIGHT, -videoWidth, 0);
ScnLib_SetWebcamViewSize(videoWidth, videoHeight);
// Switch the layout context to the webcam view block #3
ScnLib_SetLayoutContext(3);
// Output a separate video for the webcam #3 view (OPTIONAL)
ScnLib_SetVideoPathW(L"C:\\Recordings\\Webcam #3.mp4");
// Assuming there are more than 3 webcam devices connected to the PC,
// select the third webcam device for the webcam #3 view
ScnLib_SelectWebcamDevice(2);
// Align webcam #3 view to the bottom right corner, offsetting it by
// its width to the right so it appears adjacent to the main screen
ScnLib_SetWebcamPosition(SCNLIB_POSITION_BOTTOM_RIGHT, -videoWidth, 0);
ScnLib_SetWebcamViewSize(videoWidth, videoHeight);
// Switch the layout context to the composition screen
ScnLib_SetLayoutContext(-1);
// Output a separate video for the composition screen
ScnLib_SetVideoPathW(L"C:\\Recordings\\Composition Screen.mp4");
// Restore to the previous layout context
ScnLib_SetLayoutContext(oldBlock);
// Start the recording session right now
ScnLib_StartRecording();
For version history of the SDK, you can check it out at https://www.zdsoft.com/screen-recorder-sdk/download.html.
For comprehensive details on the SDK's APIs, please refer to the Manual.chm included in the SDK package, or consult the online API reference at https://www.zdsoft.com/screen-recorder-sdk/api/.
For inquiries or suggestions regarding the SDK, please reach out to us via the online form available at https://www.zdsoft.com/contact.html.