Метод | Описание | |
---|---|---|
CalculateLocalClockOffset ( |
||
CalculateRoundTripDelay ( |
||
ParseRawByteArray ( byte array ) : |
||
ReadCurrentTime ( string serverName ) : |
||
ReadPacket ( |
||
ReadPacket ( |
||
ReadPacket ( string serverName, int port ) : NtpPacket | ||
ToRawByteArray ( ) : byte[] |
public static CalculateLocalClockOffset ( |
||
resultPacket | ||
resultTime | System.DateTime | |
Результат | System.TimeSpan |
public static CalculateRoundTripDelay ( |
||
resultPacket | ||
resultTime | System.DateTime | |
Результат | System.TimeSpan |
public static ParseRawByteArray ( byte array ) : |
||
array | byte | |
Результат |
public static ReadCurrentTime ( string serverName ) : |
||
serverName | string | |
Результат |
public static ReadPacket ( |
||
udpClient | ||
Результат |
public static ReadPacket ( |
||
udpClient | ||
packet | ||
Результат |
public static ReadPacket ( string serverName, int port ) : NtpPacket | ||
serverName | string | |
port | int | |
Результат | NtpPacket |