SocketTools .NET Edition

NetworkTime Class

Query a time server for the current time and date.

For a list of all members of this type, see NetworkTime Members.

System.Object
   SocketTools.NetworkTime

[Visual Basic]
Public Class NetworkTime
    Implements IDisposable
[C#]
public class NetworkTime : IDisposable

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The NetworkTime class library provides an interface for retrieving the current time and date from a server using the RFC 868 TIME protocol or the Network Time Protocol. The time values returned are in Coordinated Universal Time.

Requirements

Namespace: SocketTools

Assembly: SocketTools.NetworkTime (in SocketTools.NetworkTime.dll)

See Also

NetworkTime Members | SocketTools Namespace