TimeBase Class
Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9448)
Base class for TIME, DAYTIME and NTP/SNTP clients.
Syntax
public abstract class TimeBase
Inherited Members
Properties
| Name | Description |
|---|---|
| Timeout | Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out). |
Methods
| Name | Description |
|---|---|
| GetTime() | Sends a request for time to the TIME server passed to the constructor and waits for the answer that contains the time value. |
| GetTimeAsync(Object) | Begins asynchronous GetTime operation. Sends a request for time to the TIME server passed to the constructor and waits for the answer that contains the time value. |
| SynchronizeSystemClock() | Synchronize the local time with the server. |
| SynchronizeSystemClockAsync(Object) | Begins asynchronous SynchronizeSystemClock operation. Synchronize the local time with the server. |