DHCPRelease Method
Releases the IP Address of the current adapter specified by AdapterIndex .
Syntax
int DHCPRelease();
Remarks
This method releases 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 released.
NOTE: This functionality is only available in Windows.