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

Time.GetTimeAsync Method

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

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.

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