@IPDHCPENABLED[adapter] - Returns 1 if the specified network adapter has DHCP enabled

 

adapter - The index of the adapter