recently somebody asked how to get the hard drive serial number in vb.net. the easy answer of course is to use vbscript with the wmi classes. actually, this gets the "volume" serial number, not the hard-coded manufacturer's hard drive serial number, which needs to be retrieved with custom software that can vary by drive manufacturer. the "volume" serial number is created when you format a drive, and it can be changed without reformatting, although in practice people rarely do so.
新闻热点
疑难解答