
Can anybody translate this to vb.net?
Michael,
You're posting from the future. Please correct your system date.
Quote:
>http://www.mvps.org/vbnet/index.html?code/wmi/wmibios.htm
The easiest way to use the Win32_BIOS WMI class is to run
mgmtclassgen Win32_BIOS /L VB
from the command line, then add the generated BIOS.vb file to your
project. Then you have a strongly typed class called
ROOT.CIMV2.Win32.BIOS that you can use to retrieve the information you
want.
Mattias
===
Mattias Sj?gren (VB MVP)
http://www.msjogren.net/dotnet/