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 9, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250