LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Readout serialnumber etc. of an USB-stick

Hi there,

 

how is it possible to readout the serialnumer and other information of an USB stick?

It would be used to "dongle" a LabVIEW application..!

 

Thanks for answers!

0 Kudos
Message 1 of 6
(3,244 Views)

You can use system exec to execute a dir command. And then parse the result for serial number.



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 6
(3,241 Views)
0 Kudos
Message 3 of 6
(3,237 Views)

Got it in first step, thank's for help.

 

 

0 Kudos
Message 4 of 6
(3,223 Views)

I spent a little more time looking at this, and I would advise strongly against using the volume ID that can be found in the directory listing.  If the method of checking is known, this utility from Microsoft will allow them to easily circumvent your check.

 

The USB device serial number, to my knowledge, is burned into the chip and is most likely impossible or extremely difficult to change.  My first post references a method to get that serial number.

0 Kudos
Message 5 of 6
(3,221 Views)

You need to remove the &0 at the end, as it is not technically part of the serial number.

0 Kudos
Message 6 of 6
(3,220 Views)