ZD Screen Recorder SDK API – ScnLib_SetLicense()

ScnLib_SetLicenseA/W()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) BOOL __stdcall ScnLib_SetLicenseA(LPCSTR pcszName, LPCSTR pcszEmail, LPCSTR pcszKey);
__declspec(dllimport) BOOL __stdcall ScnLib_SetLicenseW(LPCWSTR pcwszName, LPCWSTR pcwszEmail, LPCWSTR pcwszKey);
C# [DllImport("ScnLib.dll", CharSet = CharSet.Unicode)] public static extern bool ScnLib_SetLicenseW(string Name, string Email, string Key);
Basic Public Declare Unicode Function ScnLib_SetLicenseW Lib "ScnLib.dll" (ByVal Name As String, ByVal Email As String, ByVal Key As String) As Boolean
Delphi function ScnLib_SetLicenseA(const Name: PAnsiChar; const Email: PAnsiChar; const Key: PAnsiChar): LongBool; stdcall; external 'ScnLib.dll';
function ScnLib_SetLicenseW(const Name: PWideChar; const Email: PWideChar; const Key: PWideChar): LongBool; stdcall; external 'ScnLib.dll';
  • Description
    Validate and activate your commercial license of the SDK.

  • Parameters
    • Name [in]
      This is your license ‘Name’ string, included in the license information you receive after purchasing a commercial SDK license. It may be the name of an individual or the company that holds the license.
    • Email [in]
      This your license ‘Email’ address string, included in the license information you receive after purchasing a commercial SDK license. It defaults to the email address you used for purchasing the SDK. If you need to change this email address post-purchase, please reach out to us for assistance.
    • Key [in]
      This is your license ‘Key’ string, included in the license information you receive after purchasing a commercial SDK license. It appears in the format ‘XXXXX-XXXXX-XXXXX-XXXXX-XXXXX’. Please ensure that it matches exactly as provided to you, so it’s recommended to copy and paste your license key string here directly.
  • Return Value
    If your license key is validated and activated successfully, the return value is TRUE. Otherwise, the return value is FALSE.

  • Remarks
    ZD Screen Recorder SDK offers a free trial version for evaluation purposes only, which should not be used for commercial production. In this trial version, all SDK APIs function fully, except that recorded videos will carry a watermark featuring our website domain ‘www.zdsoft.com’. If you find the SDK meets your needs, you can purchase a commercial license through our online store. Upon completing the payment, you will receive a license key via email for the perpetual, watermark-free use of the SDK.

    This function allows you to enter your license key, which must be done each time before initializing the SDK with ScnLib_InitializeA/W(). To confirm the activation of your license key, you can invoke ScnLib_About(). The SDK’s license verification process does not require an internet connection. Your license key, embedded in your project, is valid across all instances and does not depend on an online connection.

  • See Also
    ScnLib_About()
    ScnLib_InitializeA/W()

Shopping Cart
  • Your cart is empty.
Scroll to Top