Dela via


ESimProfile.State Property

Definition

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

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

Property Value

The state (presence and enabled status) of the eSIM profile.

Windows requirements

App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Applies to