Unlock a device
A subset of the mobile broadband API includes the PIN Management API. To unlock a device, do the following:
Get the network adapter ID for the account device:
Create an IMbnInterfaceManager instance.
Call IMbnPinManager::GetPinState to get the PIN state of the device (the state returned by using the connection point that was registered in step 3).
Determine how the device is locked or blocked by using the MBN_PIN_INFO::pinState parameter that is passed into the event.
Get an IMbnPin interface for the appropriate PIN by calling IMbnPinManager::GetPin.
Listen for Unlock or Unblock results by using IMbnPinEvents registration to know whether the operation was successful.