Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> blisernum() / blisernumbas()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 BLISERNUM() / BLISERNUMBAS()
------------------------------------------------------------------------------
 Purpose:
 Get burned in serial number.

 Syntax:
 cValue = BLISERNUM()

 Parameters:
 None.

 Returns:
 Serial number character string.

 Description:
 This function is used to examine a serial number and other information of
 up to 100 characters encrypted into the executable file at link time, for
 example to hide a serial number and licensee number in the .EXE file as a
 form of copy protection.

 The information is stored as a string of up to 100 characters in length,
 which is copied directly into the .EXE file and returned in exactly the same
 format at runtime.
 This function is currently only supported for DOS and DOS extended programs,
 not for Windows programs.

 Example:
 To encrypt a program with a serial number of 00100001, a 5
 user license and a licensee name of Blink, Inc. use the following command:

 BLINKER EXECUTABLE SERIAL 00100001 5 Blink, Inc.

 At program runtime these values can be examined by assigning the serial
 number to a string and then manipulating it using a substring function:

 TMPSERNUM = BLISERNUM()                                                     
 ? "Serial number:", SUBSTR(TMPSERNUM,1,8)                                   
 ? "No. of Users :", VAL(SUBSTR (TMPSERNUM,10,1))                            
 ? "Licensed to :", SUBSTR(TMPSERNUM,12,20)                                  

See Also: BLINKER EXECUTABLE SERIAL

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson