Articles → .NET → Get the mother board serial number in C#

Get the mother board serial number in C#






Code




string motherBoardId = string.Empty;
ManagementObjectSearcher mos = new ManagementObjectSearcher("SELECT SerialNumber FROM Win32_BaseBoard");
ManagementObjectCollection moc = mos.Get();

foreach (ManagementObject mo in moc)
{
   motherBoardId = mo["SerialNumber"].ToString();
}



Posted By  -  Karan Gupta
 
Posted On  -  Friday, August 09, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250