NetworkAvailabilityEventArgs.IsAvailable Property


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

Gets the current status of the network connection.

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

public bool IsAvailable { get; }

Property Value

Type: System.Boolean

true if the network is available; otherwise, false.

.NET Framework
Available since 2.0
Return to top