Jaa


MobileBroadbandSlotInfo.IccId Property

Definition

Gets the Integrated Circuit Card Identifier (ICCID) for an eSim (in either the active or inactive slot, for Dual Sim Single Active devices).

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

public:
 property Platform::String ^ IccId { Platform::String ^ get(); };
winrt::hstring IccId();
public string IccId { get; }
var string = mobileBroadbandSlotInfo.iccId;
Public ReadOnly Property IccId As String

Property Value

String

Platform::String

winrt::hstring

The Integrated Circuit Card Identifier (ICCID) if it's available; otherwise, an empty string. The ICCID is available after successful initialization of the UICC/eUICC card, and the subscriber information state has become ready.

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)
App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Applies to