public static extern bool XcareSMBiosBIOSInformation(ref bios_info_type_0 t0);
private void button_type0_Click(object sender, EventArgs e) { WMI_DLL.XcareInitSMBiosData(); bios_info_type_0 t0 = new bios_info_type_0(); WMI_DLL.XcareSMBiosBIOSInformation(ref t0); label_type0_BIOSVendor.Text = "BIOS Vendor: " + t0.vendor.ToString(); label_type0_BIOSVersion.Text = "BIOS Version: " + t0.bios_version.ToString(); //label_type0_BIOSRelease.Text = "BIOS Release: " + Convert.ToByte(t0.sys_bios_major).ToString(); label_type0_BIOSRelease.Text = "BIOS Release Date: " + t0.bios_release_date; }