Indicates whether any network connection is available.
Public Shared Function GetIsNetworkAvailable As Boolean
Dim returnValue As Boolean returnValue = NetworkInterface.GetIsNetworkAvailable()
public static bool GetIsNetworkAvailable()
public: static bool GetIsNetworkAvailable()
public static function GetIsNetworkAvailable() : boolean
A network connection is considered to be available if any network interface is marked "up" and is not a loopback or tunnel interface.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98