Is there a way to determine the speed of a removable disk in Windows without actually reading in the file. And if I need to read in a file, how much do I need to read to get the daily rate (for example, to determine if the device is USB2 or USB1)?
EDIT . Just to clarify, examples were USB2 and USB1. It can be Compact Flash, it can be SSD, it can be a removable disk. And I'm trying to determine this as quickly as possible, as it really affects the responsiveness of the application.
EDIT . It should also be clarified, this must be done programmatically. This will probably be done in C ++.
EDIT : Strengthening the answer is what I was looking for (although I did not write WMI in C ++). But I need to know what properties I should check to determine the relative speed. I do not need the exact speed (for example, I talked about the difference in speed between USB1 and USB2), but I need to know if it will be SLLOOOOWWW.
source share