Home All Groups Group Topic Archive Search About
Author
15 Aug 2006 12:39 AM
mfleet1973@yahoo.ca
Hello.

How do I get the type of harddrive (by type I mean whether it's EDI,
SATA, etc.).  Is it possible to find out?

Thanks a lot.

Mike.

Author
15 Aug 2006 2:03 PM
scorpion53061
:
> Hello.
>
> How do I get the type of harddrive (by type I mean whether it's EDI,
> SATA, etc.).  Is it possible to find out?
>
> Thanks a lot.
>
> Mike.

in .NET 2.0 there is a DriveInfo class in the System.IO namespace...

For Each curDrive As DriveInfo In My.Computer.FileSystem.Drives
Author
15 Aug 2006 2:23 PM
Cor Ligthert [MVP]
Kelly,

Are you sure that it gives the S-ATA,

I have a very generic WMI program that search for all WMI properties.

In that the only information I could get with Windows XP was that it was an
IDE drive and that the motherboard part had Ultra DMA IDE ports.

Sata is released after the introduction of XP, maybe will it be showable in
Vista.

However I am currious and have tested your code, I could not find any
property in the driveinfo that would give me this information.

Can you enlighten us a little bit more.

Cor

Show quoteHide quote
"scorpion53061" <ad***@kjmsolutions.com> schreef in bericht
news:1155650637.827985.322480@75g2000cwc.googlegroups.com...
> :
>> Hello.
>>
>> How do I get the type of harddrive (by type I mean whether it's EDI,
>> SATA, etc.).  Is it possible to find out?
>>
>> Thanks a lot.
>>
>> Mike.
>
> in .NET 2.0 there is a DriveInfo class in the System.IO namespace...
>
> For Each curDrive As DriveInfo In My.Computer.FileSystem.Drives
>