C# Class DigitalWatch.NetworkTime.NetworkTimeClient

Afficher le fichier Open project: DannyvanderJagt/CSharp-Design-Patterns Class Usage Examples

Méthodes publiques

Méthode Description
GetNetworkTime ( ) : DateTime
GetNetworkTime ( string server ) : DateTime
GetNetworkTime ( string server, int port ) : DateTime
NetworkTimeClient ( ) : System
NetworkTimeClient ( string server ) : System
NetworkTimeClient ( string server, int port ) : System
ToString ( ) : string
checkConnection ( ) : bool
connect ( ) : void

Method Details

GetNetworkTime() public méthode

public GetNetworkTime ( ) : DateTime
Résultat DateTime

GetNetworkTime() public static méthode

public static GetNetworkTime ( string server ) : DateTime
server string
Résultat DateTime

GetNetworkTime() public static méthode

public static GetNetworkTime ( string server, int port ) : DateTime
server string
port int
Résultat DateTime

NetworkTimeClient() public méthode

public NetworkTimeClient ( ) : System
Résultat System

NetworkTimeClient() public méthode

public NetworkTimeClient ( string server ) : System
server string
Résultat System

NetworkTimeClient() public méthode

public NetworkTimeClient ( string server, int port ) : System
server string
port int
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

checkConnection() public méthode

public checkConnection ( ) : bool
Résultat bool

connect() public méthode

public connect ( ) : void
Résultat void