https://blogs.embarcadero.com/easily-add-product-licensing-for-delphi-apps-using-turbopack-onguard/
This is the source-code for OnGuard recipe published on Embarcadero's blog.
This contains an example EXE copy-protected by OnGuard and Digital River Key Issuance project.