-api-id | -api-type |
---|---|
M:Windows.Networking.NetworkOperators.MobileBroadbandModem.SetIsPassthroughEnabled(System.Boolean,System.Int32) |
winrt method |
Windows.Networking.NetworkOperators.MobileBroadbandModem.SetIsPassthroughEnabled(System.Boolean,System.Int32)
Enables or disables passthrough mode (for 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.
A value of true
to enable passthrough mode; false
to disable it.
The 0-based slot index (slot number) to enable or disable passthrough mode for.
A MobileBroadbandModemStatus value on completion.
Enabling passthrough mode allows the host to communicate with the SIM directly (the communication between the host and the SIM is passthrough). For example, to upgrade firmware. The miniport adapter doesn't send any application protocol data units (APDUs) to the card, and doesn't interfere at any time with the communication between the host and the SIM.
Microsoft.eSIMManagement_8wekyb3d8bbwe