No way to know when a DHCP lease has expired, or will expire
description
Currently, the NetworkInterface class contains methods to enable DHCP, disable DHCP (by setting a static IP), release a DHCP lease, and renew a DHCP lease. There is no way, however, to obtain the duration of the lease so the application can renew the lease when it expires. This could be accomplished with a property on the NetworkInterface class (DhcpLeaseDuration, for example) or by having EnableDhcp() return a lease duration.