C# Class Rhino.Licensing.SntpClient

Afficher le fichier Open project: ayende/rhino-licensing Class Usage Examples

Méthodes publiques

Méthode Description
BeginGetDate ( Action getTime, System.Action failure ) : void

SntpClient ( string hosts ) : System

Private Methods

Méthode Description
ComputeDate ( ulong milliseconds ) : System.DateTime
EndGetHostAddress ( IAsyncResult asyncResult ) : void
EndReceive ( IAsyncResult ar ) : void
EndSend ( IAsyncResult ar ) : void
GetIsServerMode ( byte sntpData ) : bool
GetMilliSeconds ( byte sntpData, byte offset ) : ulong
GetTransmitTimestamp ( byte sntpData ) : System.DateTime
IsResponseValid ( byte sntpData ) : bool
MaybeOperationTimeout ( object state, bool timedOut ) : void
RegisterWaitForTimeout ( State newState, IAsyncResult result ) : void

Method Details

BeginGetDate() public méthode

public BeginGetDate ( Action getTime, System.Action failure ) : void
getTime Action
failure System.Action
Résultat void

SntpClient() public méthode

public SntpClient ( string hosts ) : System
hosts string
Résultat System