Serial Number of Vector Keyman seems not to read out correctly
Why does it not work to read out correctly the serial number or license info of the Vector Keyman dongle with the XL Driver Library?
Reading out the serial number is possible with the function CANDemo.XL_GetKeymanInfo.
You should be aware though, that the first connected dongle starts with 0 (instead of 1). If you read out the number of connected Vector Keyman dongle with the function CANDemo.XL_GetKeymanBoxes, the result must be decremented by 1 to be used as correct parameter for CANDemo.XL_GetKeymanInfo.
Read out the number of connected Vector Keyman license dongle:
The value of boxCount is used to read out the serial number decremented by 1. You need to use boxCount-1 to read out the correct dongle number.
CANDemo.XL_GetKeymanInfo(boxCount-1, ref boxMask,ref boxSerial,ref licInfo);