Indicates whether a computer is connected to a network.
Boolean.
If My.Computer.Network.IsAvailable = True Then MsgBox("Computer is connected.") Else MsgBox("Computer is not connected.") End If
| In The Hand IsAvailable Property Namespaces ► InTheHand.VisualBasic.Devices ► Network ► IsAvailable |
If My.Computer.Network.IsAvailable = True Then MsgBox("Computer is connected.") Else MsgBox("Computer is not connected.") End If