NTPサーバから現在の時刻を取得します。

Namespace: YiaoWang.Network
Assembly: YiaoWang.Network (YiaoWang.Network.dll 内) バージョン: 2.11.5.7 (2.11.5.7)

Syntax

C#
public bool TryGetNtpServerTime(
	ref DateTime returnDateTime
)
Visual Basic
Public Function TryGetNtpServerTime ( _
	ByRef returnDateTime As DateTime _
) As Boolean

Parameters

returnDateTime
Type: System..::..DateTime%
取得した現在の時刻

Return Value

true:処理成功時、false:処理失敗時

See Also