Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ntp.GetTime Method

Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9147)

GetTime()

Sends a request for time to the NTP server passed to the constructor and waits for the answer that contains the time values to calculate the offset between the local and server time.

Declaration
public NtpResponse GetTime()
Returns
Type Description
NtpResponse

The server's response. Use its TimeOffset to determine the time offset.

In This Article
  • GetTime()
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies