Méthode | Description | |
---|---|---|
GetNetworkTime ( ) : System.DateTime |
Gets the current DateTime from time-a.nist.gov.
|
|
GetNetworkTime ( |
Gets the current DateTime form ep IPEndPoint.
|
|
GetNetworkTime ( string ntpServer ) : System.DateTime |
Gets the current DateTime from ntpServer.
|
public static GetNetworkTime ( ) : System.DateTime | ||
Résultat | System.DateTime |
public static GetNetworkTime ( |
||
ep | The IPEndPoint to connect to. | |
Résultat | System.DateTime |
public static GetNetworkTime ( string ntpServer ) : System.DateTime | ||
ntpServer | string | The hostname of the NTP server. |
Résultat | System.DateTime |