判断本地的电脑是否与Internet网络连接
来源:互联网 发布:青岛新房每日成交数据 编辑:程序博客网 时间:2024/04/29 12:50
using System;
using System.Runtime.InteropServices;
namespace MyAssist
{
/// <summary>
/// netstat 的摘要说明。
/// </summary>
public class netstat
{
[DllImport("wininet.dll")]
private extern static bool InternetGetConnectedState( out int connectionDescription, int reservedValue ) ;
public bool IsConnected()
{
int I=0;
bool state = InternetGetConnectedState(out I,0);
return state;
}
}
}
- 判断本地的电脑是否与Internet网络连接
- 判断是否连接到Internet
- android 判断是否有网络连接(usb连接电脑问题)
- 判断是否连接网络
- 判断网络是否连接
- 判断网络是否连接
- 判断网络是否连接
- 判断网络是否连接
- 判断网络是否连接,
- 判断网络是否连接
- 判断网络是否连接
- 判断网络是否连接
- 判断网络是否连接
- 判断网络是否连接
- 判断网络是否连接
- 判断网络是否连接
- 判断网络是否连接
- 判断网络是否连接
- 爱的最高境界
- SQL学习
- 最简单的软件封面制作方法
- asp.net 1.1中url重写的问题
- linux常用的含数---日期时间篇
- 判断本地的电脑是否与Internet网络连接
- WebLogic Server 性能调优
- Ajax简介
- J2ee开发环境配置
- 哈士奇标准
- WebLogic Server 管理最佳实践
- TCP/IP协议问题透析
- 我喜欢的话
- 职业定位解析