General information
Terms and definitions
Access code is a unique identifier and a set of passwords for embedding into the protected program, owned by the developer using Guardant technologies.
Feature is a functional part of the program that needs to be licensed. Features can be executable files, modules, fragments of program code, individual functions, or the entire program.
Protection project is the utility entity that stores the protection settings of the user's program or feature.
The utility console mode is used in cases where the use of a graphic mode is not possible, as well as in cases of protection process integration and binding the program to a license with a build server.
The utility console mode does not require authorization.
Protection
To work in the console mode, it is necessary to run the utility via the command prompt (for Windows OS) or terminal (for Linux OS), specifying the necessary options.
To protect the program, a Protection Project created earlier in the graphic mode of the utility is used.
protection_studio.exe [options] [absolute_path_to_the_protection_project_file]
protection_studio [options] [absolute_path_to_the_protection_project_file]
The result of successful program protection is the presence of the following data:
- "Protection finished successfully!" message in the command prompt or terminal;
- the corresponding dynamic library in the output directory;
- the protected program in the output folder.
Options
| Option | Description |
| Mandatory options | |
--console | use the console mode |
| Custom Options | |
--demo | perform protection in the utility demo mode (with a demo access code) |
--force | rewrite program input files with output files if they are in the same directory |
-- halt | waiting for input from the user. Used in cases where a separate console is launched to protect the program (for example, when launched from a script) |
--help | show tooltip |
--verbose | show protection project dump |
Command example:
protection_studio.exe --console --force --halt --verbose C:\Users\Ivanov\Documents\Guardant_Protection_Studio\Project_1\Project_1.pprx // for Windows OS protection_studio --console --force --halt --verbose /home/Ivanov/Documents/Guardant_Protection_Studio/Project_1/Project_1.pprx // for Linux OS