Delen via


MobileBroadbandPinLockState Enum

Definition

Describes the possible PIN lock states of a mobile broadband PIN.

public enum class MobileBroadbandPinLockState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MobileBroadbandPinLockState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MobileBroadbandPinLockState
var value = Windows.Networking.NetworkOperators.MobileBroadbandPinLockState.unknown
Public Enum MobileBroadbandPinLockState
Inheritance
MobileBroadbandPinLockState
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
cellularDeviceControl cellularDeviceIdentity

Fields

Name Value Description
Unknown 0

The PIN lock state is unknown.

An example is no SIM card present.

Unlocked 1

The PIN lock state is unlocked.

Examples are if the user has provided a PIN already or no PIN is required.

PinRequired 2

A PIN input is required. The MobileBroadbandPinType will contain more information on which PIN is needed.

PinUnblockKeyRequired 3

An invalid PIN has been entered too often and a PIN Unblock Key (PUK) is needed to proceed.

Applies to

See also