Sending Keys
This page will show what you should be sending back as output from a key generator program. You should be returning an ASCII text string which will be sent to the customer. The size limit is 250 bytes.
An ASCII key string must always be returned by your key generator. Enclose the key in <SOFTSHOP></SOFTSHOP> tags.
For example, to return key 123456
<SOFTSHOP>123456</SOFTSHOP>
Optionally you can return a binary key which will be provided to the customer as a download link. Please note the file size limit for the binary key is 65,535 bytes. To do this you must supply 4 pieces of information:
For exampe, to send a .jpg image to a customer with your key
<SOFTSHOP></SOFTSHOP>
<BINARY>
<FILENAME>logo.jpg</FILENAME></BINARY>
<MIME_TYPE>image/jpeg</MIME_TYPE>
<ENCODING>base64</ENCODING>
<DATA>/9j/4AAQSkZJSgABAgAAZABkAHD/HHARRHVja3kAAQAEAHAAJQAA/+4AIHFkb2JlAGTAAAHAAQMA
....(Rest of the base64 data)
/9j/4AAQSkZJSgABAgAAZABkAHD/HHARRHVja3kAAQAEAHAAJQAA/+4AIHFkb2JlAGTAAAHAAQMA </DATA>