Check internet connection tutorial Vb.net
Imports System.Runtime.InteropServices
Public Class Form1
<DllImport("wininet.dll")> Private Shared Function InternetGetConnectedState(<System.Runtime.InteropServices.Out()> ByRef Description As Integer, ByVal ReservedValue As Integer) As Boolean
End Function.......
Imports System.Runtime.InteropServices
Public Class Form1
<DllImport("wininet.dll")> Private Shared Function InternetGetConnectedState(<System.Runtime.InteropServices.Out()> ByRef Description As Integer, ByVal ReservedValue As Integer) As Boolean
End Function.......