NetworkAvailabilityEventArgs.IsAvailable Property

 

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
Show: