kdriveExpress SDK 23.2.0
kdriveExpress License API

Data Structures

struct  lic_customer_t
 

Typedefs

typedef struct lic_customer_t lic_customer_t
 

Functions

kdriveExpress_API error_t kdrive_lic_set_license (const char *configuration)
 Sets the commercial license If you have a commercial SDK you will have received a license key. More...
 
kdriveExpress_API error_t kdrive_lic_get_customer (lic_customer_t *customer)
 Gets customer licence data. More...
 

Detailed Description

Typedef Documentation

◆ lic_customer_t

Function Documentation

◆ kdrive_lic_get_customer()

kdriveExpress_API error_t kdrive_lic_get_customer ( lic_customer_t customer)

Gets customer licence data.

Parameters
[in]customerstruct with the licenced customer

◆ kdrive_lic_set_license()

kdriveExpress_API error_t kdrive_lic_set_license ( const char *  configuration)

Sets the commercial license If you have a commercial SDK you will have received a license key.

Simply call this function with your license configuration Returns InvalidLicense if the license is not valid

error_t set_license()
{
char license[] =
"[Check]\n"
"Key=I1EkM2JvaE1HMEZtIlF5VnJuJn08KHRfV0AwTlEwRyk4NT55JFNvXnU6ZnpzMDI6QV42JWZ4"
"fHNed11aOld9WHpGXSEibnkrSDVsZU9WIkljeSQ3NWY7eT4rdEJ6XjhpNnw+OkNEIydTYWNF"
"RE15JVdQOno3XmtOJjZaRExwLSV8ZXxOYzlJITlhfFFdOHIjUW43SEshfSx8RWgzSipUZU5X"
"ZiJpSnIhRS9pJyQrOis/VVAoSHMkaV5kYGFfaFxhJj5peUtdfVBgMGh7K25bITF7OnhdeTQv"
"NiZlWCt4Nls3S31nLUU2LE1OXmhubGtxY2wqJHMxVDd0Tlg4OGlIUCE=\n"
"\n"
"[Customer]\n"
"City=84508 Burgkirchen / Alz\n"
"Company=WEINZIERL ENGINEERING GmbH\n"
"Country=Germany\n"
"Street=Achatz 3\n"
"\n"
"[LicenseData]\n"
"LicNum=kdrive-2012-05-14\n"
"LicVersion=71949c2a-be30-4fbe-9c96-d0a617ac6ab8\n"
"\n"
"[Limitations]\n"
"DateLimit=2012-12-31\n"
"\n"
"[ProgramFeatures]\n"
"kdriveAccess=0\n"
"kdriveServices=0\n";
return kdrive_lic_set_license(license);
}
kdriveExpress_API error_t kdrive_lic_set_license(const char *configuration)
Sets the commercial license If you have a commercial SDK you will have received a license key.
int32_t error_t
Definition: kdrive_express_config.h:47
Parameters
[in]configurationthe licence configuration
Examples
kdrive_express_ip_tunneling_keyring.c.