Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

NtpPacket Class

Namespace: Rebex.Net
Assembly: Rebex.Time.dll (version 7.0.9147)

Represents a NTP packet.

Syntax
public class NtpPacket
Inheritance
Object
NtpPacket
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
  • Remarks
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies