MulticastIPAddressInformation.DhcpLeaseLifetime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the amount of time remaining on the Dynamic Host Configuration Protocol (DHCP) lease for this IP address.
public:
abstract property long DhcpLeaseLifetime { long get(); };
public abstract long DhcpLeaseLifetime { get; }
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public abstract long DhcpLeaseLifetime { get; }
member this.DhcpLeaseLifetime : int64
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.DhcpLeaseLifetime : int64
Public MustOverride ReadOnly Property DhcpLeaseLifetime As Long
Property Value
An Int64 value that contains the number of seconds remaining before the computer must release the IPAddress instance.
- Attributes
Remarks
Dynamic Host Configuration Protocol (DHCP) allows a computer to obtain a network address from a DHCP server, as opposed to using a static (fixed) network address. The DHCP server does not permanently assign addresses; instead, it "leases" one of a number of available addresses to the computer. Within a specified amount of time, known as the lease lifetime for the address, the computer releases the address, leaving the DHCP server free to assign it to a different computer.
This property returns the number of seconds left in the lease lifetime for the IP address identified in the Address property. Note that the computer can send requests to the DHCP server to extend its lease, so the lease lifetime can increase over time.