Documentation ¶
Overview ¶
Package axlicense provides a Go wrapper around the Axis License Key library, facilitating license verification and management for ACAP applications.
Usage Notes:
- The application name passed to the license verification functions must match the `APPNAME` specified in the application's `package.conf`. - The application ID is assigned by Axis and must match the `APPID` also specified in `package.conf`. - Major and minor version numbers should correspond to those declared in the application's configuration, aligning with `APPMAJORVERSION` and `APPMINORVERSION`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LicensekeyGetExpDate ¶
TODO: Bring this to work
func LicensekeyVerify ¶
func LicensekeyVerify(app_name string, app_id int, major_version int, minor_version int) (valid bool)
https://axiscommunications.github.io/acap-documentation/docs/acap-sdk-version-3/api/src/api/licensekey/html/licensekey_8h.html License requires to enable them in mainfest, and an APPID registerd at AXIS to create Licenses for the application
"copyProtection": { "method": "axis" }
Portal Link: https://www.axis.com/partner_pages/compatible_applications/
Types ¶
This section is empty.