开发者

How could get scsi HDD serial number?

I wanna get the serial number of a scsi harddisk, but it makes an error! I work with VC++ on Microsof开发者_如何转开发t Windows XP.

What must i do for that?


Take a look here to find out how to query WMI using C++: http://msdn.microsoft.com/en-us/library/aa394558%28VS.85%29.aspx

You'll need to look in Win32_DiskDrive for the disk and then retrieve the SerialNumber value.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜