For lastest updates: Go to gitlab.com/rioadvancement/nalperion-rust.
The document provides information on Intergration to Nalperion for licensing using Rust Lang
This is reference code to help you operate with nalperion, but the way you use it in your software to make the entitlement work needs to be solutioned by you.
Tested on rust 1.24.1
- Rio/OS Aventura
- Any linux
This code assumes that you have ShaferFileChk.so
downloaded and extracted, available in the tools/license
directory
This method does
- NalpLibOpen by using the .so file provided
- NSLValidateLibrary using CUSTOMER_ID, PRODUCT_D
- NSLGetLicense
- NalpLibClose
The output of the method is
- On error, the error msg has the information
- On success, trial commenced or activated using the license code.
If you have a license code from Nalperion then edit config.rs
activation_code: Some("09090000090909".to_string()),
cargo build
cd ./target/debug/
./rioos-entitlement
Voila !