DHCPRenew Method
Renews the IP Address of the current adapter specified by AdapterIndex .
Syntax
int DHCPRenew();
Remarks
This method renews the IP Address of the current adapter specified by AdapterIndex. If AdapterDHCPEnabled is true, the lease of the IP Address assigned to the current adapter specified by AdapterIndex is renewed.
NOTE: This functionality is only available in Windows.