Frequently Asked Questions
SDK

C++

6min
vm detection on the windows platform when linking with the static libraries vm detection is possible on windows os linking to licensespring library can be done statically or dynamically licensespring library loads licensespringvmd dll at run time, when detecting for vm licensespringvmd dll cannot be used independently, only within licensespring sdk when using c++, there is a large number of files is it possible somehow to decrease the number of files to a small number? to reduce the number of dynamic libraries your application requires, youcan statically link the libraries into your executable, incorporating their code directly into the application at compile time this results in a standalone executable that does not depend on external library files at runtime what ssl certificates does the sdk use? check out the extended options document for more information about setting up native tls for curl the c++ sdk uses multiple fallbacks to look up valid ssl certificates for reaching the license api certificates are checked in the following order system certificates, sdk embedded certificates, certificates from a bundle file embedded certificates the sdk contains a list of root certificates that are included in mozilla products see https //wiki mozilla org/ca/included certificates https //wiki mozilla org/ca/included certificates certificate bundle file the sdk also contains a standalone file containing the same certificates, that you can bundle with your binary on windows , the sdk searches for curl ca bundle crt and ca certificates crt files with searchpath , see https //learn microsoft com/en us/windows/win32/api/processenv/nf processenv searchpatha https //learn microsoft com/en us/windows/win32/api/processenv/nf processenv searchpatha , in the certificates folder, placed in the executable directory on linux and macos , the sdk searches for the ca certificates crt file in the executable directory, in the certificates directory, placed in the executable directory, in the current working directory, in the certificates directory, placed in the current working directory if that fails, the sdk also tries to find a certificate file commonly found on different linux and bsd distributions /etc/ssl/certs/ca certificates crt /etc/pki/tls/certs/ca bundle txt /etc/pki/tls/cacert pem etc/pki/ca trust/extracted/pem/tls ca bundle pem /etc/ssl/cert pem /usr/local/etc/ssl/cert pem /usr/local/share/certs/ca root nss crt /etc/openssl/certs/ca certificates crt /usr/local/etc/openssl/cert pem how to identify which certificate was used to authenticate the license api? this is currently not possible enabling logging will write failed to verify ssl certificate using system/embedded/ca file certs to the log file if the request fails, an appropriate exception will be thrown