Answer
IP operations are performed at the NDIS level of the operating system. Those functions are available in the link below in the IP Helper API (iphlpapi.h). You will need to detect the adapter using ?GetAdaptersInfo().? https://msdn.microsoft.com/en-us/library/ms886687.aspx To release/renew an IP address, you can use the functions "IPReleaseAddress/IPRenewAddress?.