private static string GetBIOSNumber()
{
ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select SerialNumber From Win32_BIOS");
string biosNumber = string.Empty;
foreach (ManagementObject mgt in searcher.Get())
{
biosNumber += mgt["SerialNumber"].ToString();
}
return biosNumber;
}