Click or drag to resize
SntpClientSyncNetworkTimeAsync Method
Starts an asynchronous operation to synchronize network time with SNTP server. Requires GPRS bearer profile 1 opened.

Namespace: Eclo.NETMF.SIM800H
Assembly: Eclo.NETMF.SIM800H (in Eclo.NETMF.SIM800H.dll) Version: 1.1.97.0 (1.1.97.0)
Syntax
C#
public SyncNetworkTimeAsyncResult SyncNetworkTimeAsync(
	string sntpServer,
	TimeSpan utcOffset,
	AsyncCallback asyncCallback = null,
	Object asyncState = null
)

Parameters

sntpServer
Type: SystemString
URL or IP address of the NTP server
utcOffset
Type: SystemTimeSpan
UTC offset of local time zone.
asyncCallback (Optional)
Type: SystemAsyncCallback
The callback to be invoked upon completion, optional
asyncState (Optional)
Type: SystemObject
The state object to be stored against the OpenGprsContextAsyncResult, optional

Return Value

Type: SyncNetworkTimeAsyncResult
The IMEIAsyncResult
See Also