Results 1 to 3 of 3

Thread: a unique hardware serail number from VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    Kolkatta
    Posts
    1

    a unique hardware serail number from VB

    Through a Visual Basic program can i find out a serail number of the hardware it is being installed in, say the Harddisk Serial number, or motherboard serial number which is unique.

    If possible then how.
    Shirish

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288

  3. #3
    Junior Member
    Join Date
    May 2001
    Location
    Damascus - Syria
    Posts
    16

    Lightbulb

    nope! unfortunately that won't help much , coz a harddisk serial can be changed and there are utiliyies for this (also it gets changed when the drive is formatted), but the serial number that is called a factory number is what is needed, and getting it requires direct memory access, and this is something that windows will never allow you to do in VB without the aid of some external vxd or something...
    the API cant help with this neither..

    long time ago i had a try with this, and i went to www.tetradyne.com to try their driverX that enables you to read/write directly to memory locations under windows. however, it didnt work with all harddisks. Quantum, seagate and others worked fine, but i saw other types that didnt return a factory number (or ID)..

    anyway, if you are interested, you can download a trial of driverX, and contact me to get you the code i used...
    Last edited by ai.unit; Jul 13th, 2001 at 02:26 PM.
    -/-

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