Is there a way to query whether or not dhcp is enabled for a network adapter? I need to get this information at run time.