|
-
Jul 29th, 2004, 09:49 AM
#1
Thread Starter
Fanatic Member
Getting a serial number from a usb flash stick
Hey All
The provider of our usb memory sticks very kindly gave us the software to pre-program the memory sticks with serial numbers, How do i go about reading this serial number in vb.net winform application
Thanks in advance Carl
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
Jul 29th, 2004, 01:01 PM
#2
I wonder how many charact
Well, I imagine those appear the same as a drive to the .Net framework, so if you know how to get a serial number from a hard drive, the same may apply to flash sticks.
-
Jul 29th, 2004, 01:08 PM
#3
Thread Starter
Fanatic Member
no ive already done that, and the serial numbers are different.
ive seen a vb6 program that is ment to show the serial number via HID (HUMAN INTERFACE DEVICE) programming but it dosnt work on my win xp box for some reason....
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
Jul 29th, 2004, 01:20 PM
#4
I wonder how many charact
Damn USB Stick manufacturers.... can't follow protocol can they..
-
Jul 29th, 2004, 01:23 PM
#5
Thread Starter
Fanatic Member
well i think they are but i dont know....
all i know is that the serial is 16 digits long alpha nurmeric
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
Jul 29th, 2004, 05:52 PM
#6
Hyperactive Member
Re: Getting a serial number from a usb flash stick
Originally posted by carlblanchard
Hey All
The provider of our usb memory sticks very kindly gave us the software to pre-program the memory sticks with serial numbers, How do i go about reading this serial number in vb.net winform application
Thanks in advance Carl
if it is a HID device, you can use this:
http://www.lvr.com/hidpage.htm
to read the serial # or get its PID and VID.
-
Jul 29th, 2004, 06:09 PM
#7
Thread Starter
Fanatic Member
ive already tried that and it dosnt work for some reason
just comes back cant find device.
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
Jul 29th, 2004, 06:31 PM
#8
Hyperactive Member
Originally posted by carlblanchard
ive already tried that and it dosnt work for some reason
just comes back cant find device.
then probably because you used a wrong PID and VID.
-
Jul 30th, 2004, 08:01 AM
#9
Thread Starter
Fanatic Member
ok heres the problem
in windows 2000 the device is reconised as USB Device (HID)
in windows xp its reconised as a hard drive (not hid)
this is confirmed because the software the manufactor gave us for programming the serial numbers and drive names etc etc
so is there a way to read the hardware serial number of disk drives ? the serial is a 16 digit number, ive tried using Management.ManagementClass("Win32_LogicalDisk")
but that dosnt return the 16 digit number im after
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|