In The Hand LtdIn The Hand
GetIsNetworkAvailable Method
NamespacesInTheHand.Net.NetworkInformationNetworkInterfaceGetIsNetworkAvailable()()()()
.NET Components for Mobility
Indicates whether any network connection is available.
Declaration Syntax
C#Visual Basic
public static bool GetIsNetworkAvailable()
Public Shared Function GetIsNetworkAvailable As Boolean
Return Value
true if a network connection is available; otherwise, false.
Remarks
A network connection is considered to be available if any network interface is marked "up" and is not a loopback interface.
Platforms Supported
Windows Mobile
Windows Mobile Version 5.0 and later
Windows Embedded Compact
Windows CE .NET 4.1 and later

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 7.0.0.0