In The Hand LtdIn The Hand
IsAvailable Property
NamespacesInTheHand.VisualBasic.DevicesNetworkIsAvailable
.NET Components for Mobility
Indicates whether a computer is connected to a network.
Declaration Syntax
C#Visual Basic
public bool IsAvailable { get; }
Public ReadOnly Property IsAvailable As Boolean
	Get
Value
Boolean.
Remarks
Examples
CopyVB.NET
If My.Computer.Network.IsAvailable = True Then
   MsgBox("Computer is connected.")
Else  
   MsgBox("Computer is not connected.")
End If

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