Results 1 to 9 of 9

Thread: Getting a serial number from a usb flash stick

  1. #1

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539

    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

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    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.

  3. #3

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    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

  4. #4
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Damn USB Stick manufacturers.... can't follow protocol can they..

  5. #5

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    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

  6. #6
    Hyperactive Member temp_12000's Avatar
    Join Date
    Jan 2004
    Location
    LA, USA
    Posts
    411

    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.



  7. #7

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    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

  8. #8
    Hyperactive Member temp_12000's Avatar
    Join Date
    Jan 2004
    Location
    LA, USA
    Posts
    411
    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.



  9. #9

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    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
  •  



Click Here to Expand Forum to Full Width