如何检查我是否连接到Internet [英] How To Check That I Connected To The Internet Or Not

查看:75
本文介绍了如何检查我是否连接到Internet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们。



i开发了一个程序,我希望当用户连接到互联网时,一些数据会发送到他的电子邮件地址。我可以知道我是否连接到互联网。



谢谢。

hi friends.

i developed a program that i want to when user connect to the internet some data be send to his email address.how can i know that i connected to internet or not.

thank you.

推荐答案

尝试将它发送到您的第一个trail的邮件ID
Try to send it to first in your mail id for trail


你好,

据我所知你需要使用system.net namespace.Lot文章可用。检查这个链接

InternetResponse



最佳方式



a文章可用于代码项目,您可以参考:文章



希望这可以解决你的问题。

Happpy Coding: - )
Hello ,
As far as i know you Need to use system.net namespace.Lot of articles are being available.Check this links
InternetResponse

Best way

a article is available on code project you can refer this:Article

Hope this can solve your problem.
Happpy Coding :-)


这篇关于如何检查我是否连接到Internet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆