title: How to determine if hardware virtualization is available via code? (C#, C++)
body: <p>How can I detect if a system supports hardware virtualization via code?
  (Preferably in C# or C++).</p>
  
  <p>I tried using WMI and ManagementObjectSearcher, and could not find a property that seemed to represent if virtualization support was present or not in the machine.</p>
  
  <p>Bonus question:
  Is it possible to tell if the CPU supports HW virtualization, but disabled in BIOS?</p>