PPP_DEVICE_KEY_TYPE
if (mainInterface.Mode() != PPP_CLIENT_MODE || type != PPP_DEVICE_KEY_TYPE)
type = PPP_DEVICE_KEY_TYPE;