find device id of satacontroller in code

Discussion in 'Mixed Languages' started by stevemk14ebr, Jan 14, 2012.

  1. stevemk14ebr

    stevemk14ebr MDL Senior Member

    Jun 23, 2010
    267
    48
    10
    #1 stevemk14ebr, Jan 14, 2012
    Last edited: Jan 16, 2012
    simply need to find the hardware id of the sata controller for the boot drive that the program is running on. This is for my AHCI flip program which i'm working on support for xp which i need to know hardware id for. any ideas
     
  2. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,519
    7,119
    120
    Device ID or Device Index?

    Well, please post the language what are you working.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. stevemk14ebr

    stevemk14ebr MDL Senior Member

    Jun 23, 2010
    267
    48
    10
    oops forgot lanuage in visualbasic 2010 or visualbasic.net same thing. I'm looking for the hardware ID. example.jpg
     
  4. stevemk14ebr

    stevemk14ebr MDL Senior Member

    Jun 23, 2010
    267
    48
    10
    any1 i still need a solution?
     
  5. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,519
    7,119
    120
    Well, you can use the WMI for get the Hardware ID of an drive by letter...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. stevemk14ebr

    stevemk14ebr MDL Senior Member

    Jun 23, 2010
    267
    48
    10