Méthode | Description | |
---|---|---|
CheckServeStatus ( string urls ) : void |
检测网络连接状态
|
|
NetPing ( string urls, int &errorCount ) : bool |
Ping命令检测网络是否畅通
|
Méthode | Description | |
---|---|---|
CmdPing ( string strIp ) : string |
通过Ping命令获取网络情况
|
|
InternetGetConnectedState ( int &dwFlag, int dwReserved ) : bool | ||
LocalConnectionStatus ( ) : bool |
判断本地的连接状态
|
public static CheckServeStatus ( string urls ) : void | ||
urls | string | |
Résultat | void |
public static NetPing ( string urls, int &errorCount ) : bool | ||
urls | string | URL数据 |
errorCount | int | ping时连接失败个数 |
Résultat | bool |