The following tables list the members exposed by TimeClient.

      Public Constructors

      NameDescription
      Public ConstructorsTimeClient ConstructorOverloaded. Initializes a new instance of TimeClient class with a container.
      Top

      Public Properties

      NameDescription
      Public PropertiesInvokeFromCurrentThreadsGets a value indicating whether to raise events from the current thread or to use a SynchronizationContext object available when an asynchronous operation was started. The default value is false. (Inherited from TimeClientBase)
      Public PropertiesServerNameGets or sets the server address. (Inherited from TimeClientBase)
      Public PropertiesServerPortGets or sets the server port. (Inherited from TimeClientBase)
      Public PropertiesTimeoutGets or sets the maximum amount of time the client waits for response from the time server (before giving up and reporting failure). Set to 0 (zero) to indicate that the request does not timeout. (Inherited from TimeClientBase)
      Public PropertiesUseTcpGets or sets a value indicating whether to use the TCP protocol (default is UDP).
      Top

      Public Fields

      NameDescription
      Public FieldsStatic MemberDefaultPortDefault TIME port number (37).
      Top

      Public Methods

      NameDescription
      Public MethodsGetTimeSends a request for time to the TIME server passed to the constructor and waits for the answer that contains the time value. (Inherited from TimeClientBase)
      Public MethodsStatic MemberSynchronizeSystemClockOverloaded. Synchronize the local time with the TIME server.
      Public MethodsSynchronizeSystemTimeSynchronize the local time with the server. (Inherited from TimeClientBase)
      Public MethodsSynchronizeSystemTimeAsyncSynchronizes the local time with the server asynchronously. (Inherited from TimeClientBase)
      Top

      Protected Methods

      NameDescription
      Protected MethodsOnSynchronizeSystemTimeCompletedRaises the SynchronizeSystemTimeCompleted event. (Inherited from TimeClientBase)
      Top

      Public Events

      Top

      See Also