Dynamsoft Panorama - API Reference
|
Functions | |
DPS_API void * | DPS_CreateInstance () |
DPS_API void | DPS_DestroyInstance (void *hStitcher) |
DPS_API int | DPS_InitLicense (void *hStitcher, const char *pLicense) |
DPS_API int | DPS_InitLicenseFromServer (void *hStitcher, const char *pLicenseServer, const char *pLicenseKey) |
DPS_API int | DPS_InitLicenseFromLicenseContent (void *hStitcher, const char *pLicenseKey, const char *pLicenseContent) |
DPS_API int | DPS_OutputLicenseToStringPtr (void *hStitcher, char **content) |
DPS_API void | DPS_FreeLicenseString (char **content) |
DPS_API void* DPS_CreateInstance | ( | ) |
Creates an instance of Dynamsoft Panorama.
DPS_API void DPS_DestroyInstance | ( | void * | hStitcher | ) |
Destroys an instance of Dynamsoft Panorama.
[in] | hStitcher | Handle of the Panorama instance. |
DPS_API void DPS_FreeLicenseString | ( | char ** | content | ) |
Frees memory allocated for the license string.
[in] | content | The output string which stores the content of license. |
DPS_API int DPS_InitLicense | ( | void * | hStitcher, |
const char * | pLicense | ||
) |
Reads the product key and activates the SDK.
[in] | hStitcher | Handle of the Panorama instance. |
[in] | pLicense | The product key. |
DPS_API int DPS_InitLicenseFromLicenseContent | ( | void * | hStitcher, |
const char * | pLicenseKey, | ||
const char * | pLicenseContent | ||
) |
Initializes Panorama license from the license content on the client machine for offline verification.
[in] | hStitcher | Handle of the Panorama instance. |
[in] | pLicenseKey | The license key. |
[in] | pLicenseContent | An encrypted string which represents the license content (quota, expiration date, barcode type, etc.) obtained from the method DPS_OutputLicenseToString(). |
DPS_API int DPS_InitLicenseFromServer | ( | void * | hStitcher, |
const char * | pLicenseServer, | ||
const char * | pLicenseKey | ||
) |
Initializes Panorama license and connects to the specified server for online verification.
[in] | hStitcher | Handle of the Panorama instance. |
[in] | pLicenseServer | The name/IP of the license server. |
[in] | pLicenseKey | The license key. |
DPS_API int DPS_OutputLicenseToStringPtr | ( | void * | hStitcher, |
char ** | content | ||
) |
Outputs the license content as an encrypted string from the license server to be used for offline license verification.
[in] | hStitcher | Handle of the Panorama instance. |
[in,out] | content | The output string which stores the content of the license. |