会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
代码乱了(靳如坦的技术blog)
专注于.net core、分布式系统架构等相关的开发
博客园
首页
联系
订阅
管理
2008年10月24日
检测网络的连接状态
摘要: 下面这段代码,返回当前计算机的网络连接状态 [DllImport("wininet.dll")] private static extern bool InternetGetConnectedState(ref uint connected, uint reserved); static uint uConnection = 0x20; /// /// Returns true if it ...
阅读全文
posted @ 2008-10-24 14:55 代码乱了
阅读(770)
评论(0)
推荐(0)
编辑
公告