Share via


ReleaseDhcpLease Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Releases the DHCP lease, which releases the IP address bound to a DHCP-enabled network interface.

Namespace:  Microsoft.SPOT.Net.NetworkInformation
Assembly:  Microsoft.SPOT.Net (in Microsoft.SPOT.Net.dll)

Syntax

'Declaration
Public Sub ReleaseDhcpLease
public void ReleaseDhcpLease()
public:
void ReleaseDhcpLease()
member ReleaseDhcpLease : unit -> unit 
public function ReleaseDhcpLease()

Remarks

All TCP/IP communications cease on the interface when its DHCP lease is released.

.NET Framework Security

See Also

Reference

NetworkInterface Class

Microsoft.SPOT.Net.NetworkInformation Namespace