Click or drag to resize

NtpPacketVersionNumber Property

Gets or sets protocol version number.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public int VersionNumber { get; }

Property Value

Int32
SNTP protocol version. Default is 4, which is the latest version at the time of this writing.
Remarks
In request packets, clients should leave this property at default value 4. Servers usually reply with the same protocol version.
See Also