C#

How to get bios identifier with C#

public string GetBiosId()
{
	try
	{
		string bios = "";
		using (ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_BIOS"))
		{
			foreach (ManagementObject mObject in searcher.Get())
			{
				bios = mObject["Manufacturer"].ToString();
				break;
			}
		}
		return (!string.IsNullOrEmpty(bios)) ? bios : "Unknown";
	}
	catch
	{
	}
	return "Unknown";
}