MobileBroadbandSlotInfo.IccId 屬性

定義

針對雙 Sim 單一作用中裝置,取得 eSim (在作用中或非作用中位置中,針對雙 Sim 卡單一作用中裝置 (ICCID) ) 的整合線路卡識別碼。

注意

這項功能僅適用于行動電信業者應用程式,以及行動網路操作員提供特殊許可權存取的 UWP 應用程式。

如果您想要使用此 API 並將您的應用程式發佈至 Microsoft Store,則必須要求特殊核准,才能使用自訂功能 Microsoft.eSIMManagement_8wekyb3d8bbwe。 如需詳細資訊,請參閱 自訂功能

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

屬性值

String

Platform::String

winrt::hstring

如果可用,則整合線路卡識別碼 (ICCID) ;否則為空字串。 在成功初始化 UICC/eUICC 記憶卡之後,就可以使用 ICCID,且訂閱者資訊狀態已就緒。

Windows 需求

裝置系列
Windows 11 Insider Preview (已於 10.0.23504.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v15.0 引進)
應用程式功能
Microsoft.eSIMManagement_8wekyb3d8bbwe

適用於