Indicates whether a computer is connected to a network.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
IsAvailable always returns False when called from a Click Once application or if the user does not have NetworkInformationPermission.
The following table lists examples of tasks involving the My.Computer.Network.IsAvailable property.
Check whether a computer is connected to a network