DeviceNicknames Help

Hello Michael,

First of all congratulations on your excellent software, the more I explore the available options more happy and satisfied stay.

If I rename (by client) my dongle (Wibu Codemeter) to Dongle1 it generates the following line in the config file:
DeviceNicknames=Dongle1000009999999,0000,0000,12
If I press Properties I get:
Vender ID: 0x064F
Product ID: 0x03F3
Serial: 000009999999 (this serial is fake for security)
Address: 213

If I put on config file: DeviceNicknames=Dongle1,0x064F,0x03F3,213 work's great if i don't change port.
OK, I notice if you do by the client app he takes on serial and put after the name, make the vendor and the product id to 0000 and put address 12.

What I'm thinking...
If someone change my dongle of port with (DeviceNicknames=Dongle1,0x064F,0x03F3,213) the address will change and the program will not change to nickname.
If I put serial after name it only work if vendor and product was 0000...

I understand address 213 is hub 2-1 port 3. What is address 12? All hubs/ports?
It's possible ignore adrress but lock by serial?

Thanks

#2

Yes there is two formats for ignoring a device. If the device doesnt have a serial it is just the vendor id and product id and address. If the device has a serial number then it is the nickname followed by the serial number then 0000,0000,length of serial number. The reason it is done this way is because originally nicknames were only by vendor id/productid/address which didnt work across ports so now the serial is used instead if it has one and the format had to be forward and backward compatible.