Click here to Skip to main content
15,914,111 members
Articles / Web Development / ASP.NET

Checking Internet Is Connected Or Not From .NET

Rate me:
Please Sign up or sign in to vote.
4.53/5 (9 votes)
27 May 2011CPOL 10.7K   3  
Dim value As Boolean = My.Computer.Network.IsAvailable can be used in a situation where the only network a system will be connected to is the Internet.Dim value As Boolean = My.Computer.Network.Ping(hostNameOrAddress ,timeout) hostNameOrAddress can be any valid website -...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Student
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions