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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 5 – Protecting Applications Using API<br />

Contents Glossary Index Troubleshooting<br />

Adding String Feature<br />

1. In the License Designer screen, load the template to which the<br />

String feature will be added.<br />

2. Click the API tab.<br />

3. Click Add. The Add Features dialog box appears.<br />

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

<br />

4. Select String. Depending on which the other options will be enabled/<br />

disabled. The attributes are described below:<br />

Attributes<br />

Attribute Description Default Setting<br />

Write-Random If selected, a unique random string will<br />

be written as the feature value when<br />

the <strong>Sentinel</strong> Key is programmed. You<br />

can specify its length in the String<br />

Length field.<br />

The random value is generated by the<br />

<strong>Sentinel</strong> Key itself and is not known to<br />

you/your application. However, you<br />

can call the SFNTReadString API<br />

function to read the value.<br />

Please note that this value can be<br />

overwritten in the field using the<br />

Update value command or by calling<br />

the SFNTWriteString API function<br />

(requires the write password<br />

you specified).<br />

Read-Only Select this check box if you do not<br />

want to allow writing the feature<br />

value by the protected application<br />

(that calls the SFNTWriteString API<br />

function).<br />

Not Selected<br />

Not selected

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

Saved successfully!

Ooh no, something went wrong!