DeviceNetworkInformation.IsNetworkAvailable Property
Namespace: Microsoft.Phone.Net.NetworkInformation
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
'Declaration
Public Shared ReadOnly Property IsNetworkAvailable As Boolean
public static bool IsNetworkAvailable { get; }
public:
static property bool IsNetworkAvailable {
bool get ();
}
static member IsNetworkAvailable : bool with get
Property Value
Type: System.Boolean
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.