Time.GetTimeAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9313)
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. Inherited from TimeBase.
Declaration
public Task<DateTime> GetTimeAsync(object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<DateTime> | The server's response.  |