NetworkDeviceStatus enumeration

Describes the readiness of a device to connect to a wireless network.

Note  This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators. For more information, see Mobile Broadband: Windows Store device apps.

Syntax


Public Enum NetworkDeviceStatus

Attributes

[Version(0x06020000)]

Members

The NetworkDeviceStatus enumeration has these members.

MemberValueDescription
DeviceNotReady | deviceNotReady0

The mobile broadband device is off.

DeviceReady | deviceReady1

The device is powered on and ready for mobile broadband operations.

SimNotInserted | simNotInserted2

The mobile broadband device does not have a SIM card.

BadSim | badSim3

The SIM card is not valid. This can occur when PIN Unblock Key attempts have exceeded the limit.

DeviceHardwareFailure | deviceHardwareFailure4

The mobile broadband device hardware is not responding.

AccountNotActivated | accountNotActivated5

A subscription account for the mobile broadband device is not active.

DeviceLocked | deviceLocked6

The mobile broadband device is locked by a PIN or password preventing the device from initializing and registering with a wireless network.

DeviceBlocked | deviceBlocked7

The mobile broadband device is blocked by a PIN or password preventing the device from initializing and registering with a wireless network.

Remarks

Mobile operator Windows Store apps can have access to different states of the device. Access to the device states such as device readiness, account activation state, and device lock status are made available through the NetworkDeviceStatus enumeration. The radio state information is available through the CurrentRadioState enumeration. Note that these are two different states. For example, a radio state Off does not translate to a DeviceNotReady state and vice versa.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.winmd

 

 

Show:
© 2015 Microsoft