License Setup
How to configure SDK license protection
License Setup
Some Perfeclty Clear SDK's use license protection to authorize and activate and control what features are enabled. If your SDK package includes a sdk_license folder, then license protection is required and you'll need to follow the basic steps below to activate and ensure the SDK is functional. The sdk_license folder will contain the following files, and the SDK or applications built from it need read/write permission to this folder.
Required Files
| File | Purpose |
|---|---|
license.key | Valid license key |
registration_email.txt | Registration email |
ShaferFilechck.* | License handling library |
PFCAppTrack.* | App tracking library |
Setup Steps
- Create a writable folder accessible to the SDK, or copy the
sdk_licensefolder from your SDK package to a location accessible by your complied application - Copy license files to that folder
- Call
PFC_SetProtectionPath()with the folder path - Verify the return code is 0 - indicating successful activation.
int ret = PFC_SetProtectionPath("/path/to/sdk_license");
if (ret != 0) {
printf("License setup failed: %d\n", ret);
}If your SDK does not require license activation, it is still safe to include the PFC_SetProtectionPath() call in your code - it will always return 0.
The SDK validates the license periodially - by default every 12 hours - via network connection to my.nalpeiron.com (184.106.60.185).
PFC-SDK Version 10.7.2.1269 built from 4fa849d8101945eea725a08dd0dae5101f090fa0 on 11-10-2025.
Copyright © 2026 EyeQ Imaging Inc. All rights reserved.