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.

Chapter 3 – Planning Application Protection and Licensing Strategy<br />

Contents Glossary Index Troubleshooting<br />

Protecting For Stand-alone Environments<br />

When protecting an application for stand-alone environment, you must<br />

note the following points:<br />

Distribute a stand-alone key with your protected application.<br />

The <strong>Sentinel</strong> <strong>Keys</strong> Server is not required by stand-alone applications.<br />

68 <strong>Sentinel</strong> <strong>Hardware</strong> <strong>Keys</strong> Developer’s <strong>Guide</strong><br />

<br />

You must specify stand-alone access mode using the options described<br />

below:<br />

For API-protected applications, call the SFNTGetLicense API<br />

function with the SP_STANDALONE_MODE flag.<br />

For CodeCover/Quick CodeCover-protected applications, select<br />

STANDALONE from the Access mode drop-down box.<br />

The network API functions, like SFNTGetServerInfo will return error.<br />

Note: The terminal clients can access both the network and stand-alone <strong>Sentinel</strong><br />

<strong>Keys</strong> in a network. To allow stand-alone keys (<strong>Sentinel</strong> S and ST) access, set<br />

the SP_ENABLE_TERMINAL_CLIENT flag in the SFNTGetLicense API function.<br />

The network keys (<strong>Sentinel</strong> SN and SNT) can be accessed without any<br />

such setting.<br />

Protecting for Network Environments<br />

Distribute a network key with your protected application.<br />

Specify network access mode using the following options:<br />

For API-protected applications, call the SFNTGetLicense API<br />

function with the SP_NETWORK_MODE flag.<br />

For CodeCover/Quick CodeCover-protected applications, select<br />

NETWORK from the Access mode drop-down box.<br />

When network mode is set, the application looks for a <strong>Sentinel</strong> Key<br />

with a license in the following sequence. If the required <strong>Sentinel</strong><br />

Key is not found or a license is not available, an error is returned:<br />

1.The host specified in the SFNTSetContactServer API function.

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

Saved successfully!

Ooh no, something went wrong!