C# Class OSharp.Utility.Net.NetHelper

网络辅助操作
Afficher le fichier Open project: i66soft/osharp

Méthodes publiques

Méthode Description
IsInternetConnected ( ) : bool

网络是否畅通

Ping ( string ip ) : bool

是否能Ping通指定主机

Private Methods

Méthode Description
InternetGetConnectedState ( int &connectionDescription, int reservedValue ) : bool

Method Details

IsInternetConnected() public static méthode

网络是否畅通
public static IsInternetConnected ( ) : bool
Résultat bool

Ping() public static méthode

是否能Ping通指定主机
public static Ping ( string ip ) : bool
ip string
Résultat bool