MulticastIPAddressInformation.AddressValidLifetime Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the number of seconds remaining during which this address is valid.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

public abstract long AddressValidLifetime { get; }

Property Value

Type: System.Int64

An Int64 value that specifies the number of seconds left for this address to remain assigned.

Exception Condition
PlatformNotSupportedException

This property is not valid on computers running operating systems earlier than Windows XP.

Use the value returned by this property to determine whether this address can be used by your application. Whenever possible, applications should use a preferred address. Use DuplicateAddressDetectionState to determine the preferred address.

.NET Framework
Available since 2.0
Return to top
Show: