Check out example codes for "c# get motherboard id". It will help you in understanding the concepts better.

Code Example 1

public static string GetMotherBoardID()
{
	string mbInfo = String.Empty;
	ManagementScope scope = new ManagementScope("\\\\" + Environment.MachineName + "\\root\\cimv2");
	scope.Connect();
	ManagementObject wmiClass = new ManagementObject(scope, new ManagementPath("Win32_BaseBoard.Tag=\"Base Board\""), new ObjectGetOptions());

	foreach (PropertyData propData in wmiClass.Properties)
	{
		if (propData.Name == "SerialNumber")
			mbInfo = String.Format("{0,-25}{1}", propData.Name, Convert.ToString(propData.Value));
	}

	return mbInfo;
}

Learn ReactJs, React Native from akashmittal.com