ESimAuthenticationPreference Enum

Definition

Defines constants that specify under what conditions the user should be challenged for eSIM authentication credentials.

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 enum class ESimAuthenticationPreference
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class ESimAuthenticationPreference
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum ESimAuthenticationPreference
var value = Windows.Networking.NetworkOperators.ESimAuthenticationPreference.onEntry
Public Enum ESimAuthenticationPreference
Inheritance
ESimAuthenticationPreference
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)
App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Fields

Never 2

Indicates that credentials should never be requested.

OnAction 1

Indicates that credentials should be requested when the eSIM is involved in an action.

OnEntry 0

Indicates that credentials should be requested when the eSIM is entered.

Applies to