Click or drag to resize
NetworkTimeProtocol Class
Utility class to assist with Network Time Protocol (NTP) conversions.
Inheritance Hierarchy
SystemObject
  FM.IceLinkNetworkTimeProtocol

Namespace: FM.IceLink
Assembly: FM.IceLink (in FM.IceLink.dll) Version: 3.0.3.0 (3.0.3.0)

The NetworkTimeProtocol type exposes the following members.

Constructors
  NameDescription
Public methodNetworkTimeProtocol
Initializes a new instance of the NetworkTimeProtocol class
Top
Properties
  NameDescription
Public propertyStatic memberUtcNow
Gets the current UTC time in NTP format.
Top
Methods
  NameDescription
Public methodStatic memberCompactNtpToDateTime
Converts a compact NTP timestamp (32 bits) to a date.
Public methodStatic memberDateTimeToCompactNtp
Converts a date to a compact NTP timestamp (32 bits).
Public methodStatic memberDateTimeToNtp
Converts a date to an NTP timestamp (64 bits).
Public methodStatic memberDateTimeToNtpSeconds
Converts a date to an NTP timestamp (double).
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNtpSecondsToDateTime
Converts an NTP timestamp (double) to a date.
Public methodStatic memberNtpToDateTime
Converts an NTP timestamp (64 bits) to a date.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also