Click or drag to resize

NtpPacketFromServerResponse Method

Initializes packet from data received from a server.

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public static NtpPacket FromServerResponse(
	byte[] bytes,
	DateTime destinationTimestamp
)

Parameters

bytes  Byte
Data received from the server.
destinationTimestamp  DateTime
Utc time of reception of response SNTP packet on the client.

Return Value

NtpPacket
See Also