Xposure Interactive
2009-03-26 08:57:27 UTC
I have been attempting to use the following code to retrieve the serial number
from a usb stick:
on getNum me
set theDrive = baFindDrive( "a", "UID.dir" )
set UID = baDiskInfo( theDrive , "number" )
alert "" & UID
end
The number retrieved by the above code (1333675516.0000) did not match the
ones given to me by the manufaturer (00000022510003). I have since read the
contents of the stick using 'USBlyzer' software and the iSerial number returned
matches the one given to me by the manufaturer (00000022510003). I have no idea
why I am not retrieving the correct value.
This is part of a massive project for the future of my business so any help
would be greatly appreciated.
from a usb stick:
on getNum me
set theDrive = baFindDrive( "a", "UID.dir" )
set UID = baDiskInfo( theDrive , "number" )
alert "" & UID
end
The number retrieved by the above code (1333675516.0000) did not match the
ones given to me by the manufaturer (00000022510003). I have since read the
contents of the stick using 'USBlyzer' software and the iSerial number returned
matches the one given to me by the manufaturer (00000022510003). I have no idea
why I am not retrieving the correct value.
This is part of a massive project for the future of my business so any help
would be greatly appreciated.