The following tables list the members exposed by NtpTimeClient.

      Public Constructors

      NameDescription
      Public ConstructorsNtpTimeClient ConstructorOverloaded. Initializes a new instance of NtpTimeClient 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 PropertiesProtocolVersionGets or sets the Sntp/Ntp protocol version number.
      Public PropertiesServerNameGets or sets the server address. (Inherited from TimeClientBase)
      Public PropertiesServerPortGets or sets the server port. (Inherited from TimeClientBase)
      Public PropertiesSkipStratumCheckGets or sets a value indicating whether the stratum value returned by the server is checked for a value indicating a Kiss-of-Death (error) packet.
      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)
      Top

      Public Fields

      NameDescription
      Public FieldsStatic MemberDefaultPortDefault NTP port number (123).
      Top

      Public Methods

      NameDescription
      Public MethodsGetTimeSends a request for time to the NTP/SNTP 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.
      Public MethodsGetTimeAsyncOverloaded. Gets the server time asynchronously by sending a request for time to the Sntp/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.
      Public MethodsSynchronizeSystemTimeOverloaded. Overridden. Synchronize the local time with the server.
      Public MethodsSynchronizeSystemTimeAsyncSynchronizes the local time with the server asynchronously. (Inherited from TimeClientBase)
      Top

      Protected Methods

      Top

      Public Events

      Top

      See Also