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 />

5. Specify a value containing up to 2032 4 raw data value (any developer-defined<br />

data type—including printable/non-printable ASCII<br />

characters and hexadecimal numbers) for the default instance.<br />

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

<br />

If the Write-Random check box is clear, you can click Browse to<br />

copy the contents of a file into the raw data feature. You can specify<br />

Offset and Length, in bytes, for the file contents you want to copy. By<br />

default, Offset is 0 and Length is 2032, indicating that only first 2032<br />

bytes of data is copied. Alternatively. you can also click the Hex-ASCII<br />

converter to browse the file.<br />

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

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

you have selected the Read-only option.<br />

7. Selecting the Add instances later check box will allow you to add<br />

new feature instances later in the License Manager screen. This<br />

option helps in modifying the "licensing values" without modifying<br />

the "licensing implementation" in the application/code.<br />

The option will be disabled if you have selected the Write-Once and/<br />

or Write-random option.<br />

8. If you selected the check box described in step 7, specify the maximum<br />

size. It has to be greater than the existing feature size and less than<br />

2032 raw data characters. The overridden values will never exceed<br />

the maximum limit set.<br />

9. Provide a name for this feature (necessary).<br />

10. The constant name will be automatically generated. However, you<br />

may modify it, if needed.<br />

11. You may optionally provide comments. When done, click OK.<br />

4.The maximum length is 2032 bytes for SHK XM keys; and 888 bytes for non-XM keys.

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

Saved successfully!

Ooh no, something went wrong!