Share via


ESim.State Property

Definition

Gets the state of the eSIM, which indicates the presence and working status of the eSIM.

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 ESimState State { ESimState get(); };
ESimState State();
public ESimState State { get; }
var eSimState = eSim.state;
Public ReadOnly Property State As ESimState

Property Value

The state (presence and working status) of the eSIM.

Windows requirements

App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Applies to