메소드 | 설명 | |
---|---|---|
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 |