Possible Duplicate:
check whether internet connection is available with C#
I just want to know which methods we have to use to detect programmatically (C#) if MS Windows has alive Internet/red connection or doesn’t.
Is it possible to do?
Thank you!
For example: if I put down WIFI how I can know that there is any connection?
Take a look at the Ping class