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 5 – Protecting Applications Using API<br />

Contents Glossary Index Troubleshooting<br />

Attributes (Continued)<br />

Attribute Description Default Setting<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 />

However, this value can be written in<br />

the field using the Update value<br />

command.<br />

If you selected Write random check<br />

box, the value will be written at the<br />

time of programming the <strong>Sentinel</strong> Key.<br />

You can read the Integer feature value<br />

using the SFNTReadInteger function.<br />

Not selected<br />

Write-once Select this check box if you want to<br />

allow writing the feature only once,<br />

without providing a write password<br />

(specify NULL in the WritePassword<br />

parameter of the SFNTWriteInteger<br />

API function). This attribute is suitable<br />

for accepting integer data that a user<br />

provides only once for validation (such<br />

as the registration number) without<br />

exposing the write password.<br />

Please note that this value can be<br />

overwritten in the field using the<br />

Update value command.<br />

5. Choose the integer type from the options shown:<br />

8-bit integer: A value between 0 and 255.<br />

16-bit integer: A value between 0 and 65,535.<br />

32-bit integer: A value between 0 and 4,294,967,295.<br />

6. Specify an integer value for the default instance.<br />

Not selected<br />

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

<br />

7. Specify a write password if you want to write the feature value using<br />

the SFNTWriteInteger API function. The option will be disabled if you<br />

have selected the Read-only option.

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

Saved successfully!

Ooh no, something went wrong!