Dearest Fellow Monks,
I am using a licence restricted software that uses a USB dongle. I have several dongles and licence files as well as a save disabled demo licence. The software automatically picks the suitable licence. It has in the past occurred that the software was loaded with a dongle having been removed and after hours of changes a user suddenly realized that they could not save.
All these machines are running a tool based on Active States's PerlTray, that monitors certain conditions in order to automate some admin tasks. I was wondering if there is the remote chance that I can identify if a certain USB device is installed and warn the user if this is not the case while a process of relevant programm exists.
I have no problems checking for the PID, but I do not know how I can identify the USB device. Any help with this is greatly appreciated.