Gets the current DHCP4Config associated with the Device.
Note that as of NetworkManager 0.9.10, you can alternatively use get_dhcp4_config, which also works with VPN connections.
a Device
the DHCP4Config or null if the device is not activated or not using DHCP.
null