Perl: the Markov chain saw | |
PerlMonks |
Checking for a USB Dongleby PerlingTheUK (Hermit) |
on Oct 04, 2007 at 21:31 UTC ( [id://642774]=perlquestion: print w/replies, xml ) | Need Help?? |
PerlingTheUK has asked for the wisdom of the Perl Monks concerning the following question:
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. Cheers, PerlingTheUK
Back to
Seekers of Perl Wisdom
|
|