C# 获得主板序列号程序代码
C# 获得主板序列号程序代码如下:public static void MainboardSerialNumber(out string[] 序列号)
{
ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * From Win32_BIOS");
序列号 = new string[searcher.Get().Count];
int i = 0;
foreach (ManagementObject share in searcher.Get())
{
序列号[i] = share.GetPropertyValue("SerialNumber").ToString();
i ;
}
}
补充:软件开发 , C# ,