02.04.2013 Views

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Steps to Protect Applications Using API<br />

Contents Glossary Index Troubleshooting<br />

Add the Business Layer API Functions into Source Code,<br />

Compile, and Link<br />

You now need to insert the Business Layer API calls into your application<br />

source code. The code sketch for your license template can guide you on the<br />

relevant API functions that can be called. Also, do refer to the best practices<br />

described in Chapter 7, “Implementing Secure Licensing,” on page 167.<br />

Finally, compile and link your application after including the <strong>Sentinel</strong> <strong>Keys</strong><br />

header files and libraries.<br />

Apply the CodeCover Protection (for Windows<br />

Applications Only)<br />

For extra protection, you can apply CodeCover over your API-protected<br />

(compiled) applications. However, this step is optional and depends on<br />

whether your executables, DLLs, and BPLs are supported by the CodeCover<br />

or not. The steps for using the CodeCover are described in Chapter 4, “Protecting<br />

Applications Using CodeCover,” on page 75.<br />

Test the Protected Application<br />

You can now test your protected application. We recommend testing your<br />

application to verify that it executes correctly with the appropriate <strong>Sentinel</strong><br />

Key both attached and missing.<br />

Tip: If you are testing your protected application in network environment, make<br />

sure to restart the <strong>Sentinel</strong> <strong>Keys</strong> Server.<br />

<strong>Sentinel</strong> <strong>Hardware</strong> <strong>Keys</strong> Developer’s <strong>Guide</strong> 111

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!