NtpPacket Class
Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9083)
Represents a NTP packet.
Syntax
public class NtpPacket
Inherited Members
Remarks
See RFC 1305 for the packet specification. Note that this implementation does not use any optional fields.
Properties
Name | Description |
---|---|
DestinationTimestamp | Destination Timestamp: the time at which the reply arrived at the client. |
LeapIndicator | Returns the leap second indicator. |
Mode | NTP packet mode. |
OriginateTimestamp | Originate Timestamp: the time at which the request departed the client for the server. |
Poll | Poll Interval, in seconds to the nearest power of two. |
Precision | Precision of the packet originator's clock, in seconds to the nearest power of two. |
ReceiveTimestamp | Receive Timestamp: the time at which the request arrived at the server. |
ReferenceTimestamp | Reference Timestamp: the time at which the local clock was last set or corrected. |
Stratum | Stratum level (time quality) of the packet originator's clock. |
TransmitTimestamp | Transmit Timestamp: the time at which the reply departed the server for the client. |
VersionNumber | NTP/SNTP protocol version number. |
Methods
Name | Description |
---|---|
GetReferenceIdentifier() | Reference Identifier. |
GetRootDelay() | Root Delay. |
GetRootDispersion() | Root Dispersion. |
ToArray() | Accessor for the raw packet data. |