473,503 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

hard drive type

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.

Aug 15 '06 #1
2 1785
:
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

Aug 15 '06 #2
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

"scorpion53061" <ad***@kjmsolutions.comschreef in bericht
news:11**********************@75g2000cwc.googlegro ups.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

Aug 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8449
by: Erich Keane | last post by:
Ok, first a quick background: I, along with a small group of diehards came up with a way to disable the EU volume cap protection on the european ipods. Unfortunately, this way never caught on, as...
1
2355
by: Daniel | last post by:
when writing out a file from .net, when is the file created? after the bytes are all written to the hard drive or before the bytes are written to the hard drive?
0
1363
by: Bruce W...1 | last post by:
I installed a new hard drive in my PC, setup Windows, Visual Studio, etc.. The old hard drive is now on IDE 2, and I will eventually be using it for backup. On the old hard drive are a few...
18
5089
by: Joe Lester | last post by:
This thread was renamed. It used to be: "shared_buffers Question". The old thread kind of died out. I'm hoping to get some more direction by rephrasing the problem, along with some extra...
3
5741
by: eieiohh | last post by:
MySQL 3.23.49 PHP 4.3.8 Apache 2.0.51 Hi All! Newbie.. I had a CRM Open Source application installed and running. Windows Xp crashed. I was able to copy the contents of the entire hard...
16
9500
by: Otie | last post by:
Hi, Is there a way for VB5 to determine exactly where on a hard drive a .exe file is stored upon the .exe file's first copying to the hard drive? What I need to know is the exact hard drive...
4
14444
by: Zeeshan | last post by:
hi, i want to get the hard drive number for example if if have drive letter C it should tell me Disk number as 1 and suppose if i have another hard disk attach to my system having letter J, the by...
23
3714
by: Rotsey | last post by:
Hi, I am writing an app that scans hard drives and logs info about every fine on the drive. The first iteration of my code used a class and a generic list to store the data and rhis took...
2
7696
by: =?Utf-8?B?Y29taXQy?= | last post by:
itried to install xp home edition . everything was loading ok untill eror message that os couldnot find hard disk drive. upon opening bios it shows my cd drive as primary and my dvd drive as...
1
2417
by: =?Utf-8?B?c2hpZw==?= | last post by:
I have an old acer aspire 3610 hard drive that has some very important pictures on it, can someone please advise me as to what I need to get the pictures off the hard drive. Im aware that I will...
0
7287
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7353
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7011
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5596
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4689
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3170
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
401
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.