The NtpPacket type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetReferenceIdentifier |
Reference Identifier.
| |
| GetRootDelay |
Root Delay.
| |
| GetRootDispersion |
Root Dispersion.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToArray |
Accessor for the raw packet data.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
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.
|