![]() ![]() MotherboardProduct = mo.GetPropertyValue("Product").ToString ![]() MotherboardSerialNumber = mo.GetPropertyValue("SerialNumber").ToString MotherboardManufacturer = mo.GetPropertyValue("Manufacturer").ToString Using mos As New ManagementObjectSearcher("root\CIMV2", "SELECT * FROM Win32_BaseBoard")įor Each mo As ManagementObject In mos.Get() Private Shared Function GetSuccinctInfo() As HardwareInfo dll file).īe sure to add a reference to System.Management then the following will work for the library's code:ĭim hi As HardwareInfo = GetSuccinctInfo() This is put together in a way that it's meant to be its own assembly (a class library that will create a. ![]() ("CPU ID"
0 Comments
Leave a Reply. |