Share via


SmbiosInformation.SerialNumber Property

Definition

Gets the serial number from the SMBIOS for the system.

public:
 static property Platform::String ^ SerialNumber { Platform::String ^ get(); };
static winrt::hstring SerialNumber();
public static string SerialNumber { get; }
var string = SmbiosInformation.serialNumber;
Public Shared ReadOnly Property SerialNumber As String

Property Value

String

Platform::String

winrt::hstring

The serial number.

Windows requirements

App capabilities
smbios

Remarks

The SerialNumber property securely retrieves the serial number from the SMBIOS for the system. For a UWP app to access the serial number, the app must possess the smbios capability, or the app must be designated as a Privileged App by the system manufacturer.

System manufacturers typically use the SerialNumber property to aid in identification of devices for servicing and troubleshooting operations.

Applies to