License Setup
How to configure SDK license protection
Some Perfectly Clear SDKs 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.3.1317 built from df9dbc8727c92fb9b1d2c68b21e60ea9c7229e1a on 03-23-2026.
Copyright © 2026 EyeQ Imaging Inc. All rights reserved.