public static extern bool XcareProcessorInformation(int processor_Number, ref system_processor_type_4 t4);
private void button_get_type4_Click(object sender, EventArgs e) { WMI_DLL.XcareInitSMBiosData(); system_processor_type_4 t4 = new system_processor_type_4(); WMI_DLL.XcareProcessorInformation(1, ref t4); label_type4_Manufacturer.Text = "manufacturer: " + t4.manufacturer.ToString(); }