Access SMBIOS information from a Universal Windows App

[NOTE] Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

How to access System Management BIOS (SMBIOS) information from a Universal Windows app.

Access SMBIOS information from a Universal Windows Platform App

Starting with Windows 10, version 1803, Universal Windows apps can use GetSystemFirmwareTable and EnumSystemFirmwareTables to access SMBIOS information by declaring the smbios restricted capability in the app manifest.

Important

Only access to raw SMBIOS (RSMB) firmware tables is supported from a Universal Windows app. ACCESS_DENIED will be returned if you try to access other firmware table types from a Universal Windows app.

 

To declare the smbios restricted capability in the app manifest, add the rescap namespace and smbios capability as follows:

<Package
  ...
  xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
  IgnorableNamespaces="uap mp rescap">  
  ...
  <Capabilities>
    <rescap:Capability Name="smbios"/>
  </Capabilities>
</Package>

Special and restricted capabilities

GetSystemFirmwareTable

EnumSystemFirmwaretables

Access UEFI firmware variables from a Universal Windows App