Encrypting a single file

A simple licensing of all functions in a Python file may be represented in a protect.yaml file as follows:

Options: {}

Licenses:

 - Name: Default

   Type: CodeMeter

   FirmCode: 6000010

   ProductCode: 13

FilesToEncrypt:

 Input: INPUTFILE

 OutputFolder: prot

LicenseLists:

 - Id: 0

   Licenses:

     - Default

Please call AxProtector as follows:

dotnet "C:\Program Files (x86)\WIBU- SYSTEMS\AxProtector\Devkit\bin\dotnet\AxProtector.dll protect.yaml

 

 

After the encryption has been performed, the file INPUTFILE to be encrypted is stored in directory prot as INPUTFILE-p.

 

With this protect.yaml protection definition all functions are secured by the CodeMeter license 6000010:13. This because the existing license list with the Id 0 automatically features the encryption of all functions.