C# Class AnimatGuiCtrls.Network.NetworkUtilities

Common network functions.
Mostra file Open project: NeuroRoboticTech/AnimatLabPublicSource Class Usage Examples

Public Methods

Method Description
IsOnline ( ) : bool
ResolveHost ( string hostname ) : IPHostEntry

Private Methods

Method Description
InternetGetConnectedState ( InternetConnectionStatesType &lpdwFlags, int dwReserved ) : bool

Method Details

IsOnline() public static method

public static IsOnline ( ) : bool
return bool

ResolveHost() public static method

public static ResolveHost ( string hostname ) : IPHostEntry
hostname string
return System.Net.IPHostEntry