Click or drag to resize
NtpSyncTime Class
A helper class encapsulating different aspects of NTP clock handling.
Inheritance Hierarchy
SystemObject
  StreamCoders.RtpNtpSyncTime

Namespace: StreamCoders.Rtp
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class NtpSyncTime

The NtpSyncTime type exposes the following members.

Constructors
  NameDescription
Public methodNtpSyncTime(DateTime)
Initializes NtpSync with a DateTime structure.
Public methodNtpSyncTime(UInt32, UInt32)
Initializes NtpSyncTime with values MSW, LSW.
Top
Properties
  NameDescription
Public propertyAsDateTime
Retrieves the DateTime representation.
Public propertyAsMiddle32
Retrieves the middle 32-bit of NTP timestamp (RFC 2550/Section 4)
Public propertyAsSeconds
Retrieves the total number of seconds elapsed.
Public propertyLsw
Gets the LSW.
Public propertyMsw
Gets the MSW.
Top
Methods
  NameDescription
Public methodToString
Convert this object into a string representation.
(Overrides ObjectToString.)
Public methodUpdate(DateTime)
Updates NtpSyncTime with new values.
Public methodUpdate(UInt32, UInt32)
Updates NtpSyncTime with new values.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
See Also