如何检测SSD驱动器? [英] How to Detect SSD Drive ?

查看:101
本文介绍了如何检测SSD驱动器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想检测SSD驱动器,我的程序必须首先确认检测到的驱动器是物理HDD或SSD。



我正在尝试使用C#中的WMI。



如果您有任何想法,请告诉我。



提前致谢,



Neal。

解决方案

我个人最喜欢的:搜索报告驱动器转速的代码.SSD应该有0rpm。


这可能对你很有意思:



http://www.ocztechnologyforum.com/forum/showthread.php?60239-How-to-以编程方式检测那个驱动器是一个SSD驱动器 [ ^ ]


我找到的最好的我不她关于WMI的主题是在win32_diskdrive中查找名称模型,并检查模型中名称中是否有SSD。

另一种方法是使用win32_winsat检查磁盘的winsat-score -class。

I want to detect SSD drive and my program must first confirm detected drive is physical HDD or SSD.

I am trying with WMI in C#.

Please let me know if you have any idea.

Thanks in advance,

Neal.

解决方案

My personal favorite: "Search for code that reports drive rotation speed. SSD should have 0rpm."


this may be interesting to you :

http://www.ocztechnologyforum.com/forum/showthread.php?60239-How-to-programmatically-detect-that-a-drive-is-a-SSD-drive[^]


The best i found in other threads about WMI is looking for the name-model in win32_diskdrive and check if the model has "SSD" anywhere in the name.
Another way is to check the winsat-score of the disk using the win32_winsat-class.


这篇关于如何检测SSD驱动器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆