Activating the components with the license key
SecureBlackbox components require a key, without which they can't be used. For evaluation purposes you will find a trial key in the folder where you installed SecureBlackbox. The file which contains the key is named "LicenseKey.txt".
You need to call SetLicenseKey function and pass your license key as Key parameter.
Remember, that you don't pass any file name, registry key name or anything else. You pass the license key itself (a text string).
Call SetLicenseKey before using any SecureBlackbox methods.
To set two or more license keys (when you have different license keys for different packages of SecureBlackbox)
at the same time, just call SetLicenseKey several times, passing a different license key in each call.
License keys are added, not replaced.
Note, that as the keys are added, passing an evaluation license key together with production license key will force evaluation delays and nag screen, so be sure to remove the evaluation license key from the list of keys being set.
To be able to use the dynamic library on MacOS X and iOS platforms, you will probably need to change the library's "install_path" property. This property should contain the actual path to the library within your file system. The property can be changed with Mac Terminal "install_name_tool" command.
For instance, you can use the following command to change the install path for a SecureBlackbox library targeting the x86_64 architecture if it is located in the Users/me/Downloads/secbboxcpp_mac/Libraries/MacOS64 directory:
install_name_tool -id "Users/me/Downloads/secbboxcpp_mac/Libraries/MacOS64/libsbb.dylib" Users/me/Downloads/secbboxcpp_mac/Libraries/MacOS64/libsbb.dylib