Here is the detailed description of KeyChk Function #4:

Function #4

This function allows you to verify the presence of your Key VERY QUICKLY based only on the Lasered‑ID, which is unique for every EverKey Key.

Since the purpose of this function is to perform the Key check as quickly as possible, it does not return any SCB fields except Error Code, Error Status 1 and Error Status 2.

No fields in the Key are updated by this call.

If the Key has a Time Limit and it's Timer has not yet started, this function WILL NOT start the Timer ticking.

Before calling KeyChk setup the following SCB fields:

Error Code

6240 (hex)

It's a good programming practice to always set the Error Code to this value before calling KeyChk. If KeyChk doesn't find your SCB, it can't set the Error Code, but it will already be set to the correct value and your program will take the proper action.

Function Code

4

SCB‑ID

Kc.6” (ASCIIZ)

Lasered‑ID

Set this field to the Lasered‑ID of the Key that you want to be sure is still plugged into the computer.

The easiest way to get the Lasered‑ID for your Key is to use Function #1 specifying your Product‑ID and Product PIN. As a successful result of that function, the Lasered‑ID of your specific Key will be returned in the SCB. Save that returned value and from then on, you can this function for a very fast Key check.

The remaining SCB fields will be ignored by KeyChk.