Gets the current IPv4 IPConfig associated with the Device.
You can alternatively use get_ip4_config, which also works with VPN connections.
a Device
the IPv4 IPConfig, or null if the device is not activated.