메소드 | 설명 | |
---|---|---|
CheckNow ( bool ResetTimer = true, bool ForceCheck = false ) : bool |
Perform a time correction check, may a few seconds.
|
|
TimeCorrectionProvider ( string Url, bool Enable = true ) : System |
Instanciates a new TOTP_TimeCorrection using the specified URL to contact the server.
|
메소드 | 설명 | |
---|---|---|
Task_Do ( ) : bool |
Instanciates a new task and starts it.
|
|
Task_Thread ( ) : void |
Event that occurs when the timer has reached the required value. Attempts to get time correction from the server.
|
|
Timer_Elapsed ( object sender, |
Task that occurs every time the timer's interval has elapsed.
|
public CheckNow ( bool ResetTimer = true, bool ForceCheck = false ) : bool | ||
ResetTimer | bool | Resets the timer to 0. Occurs even if the attempt to attempt a new time correction fails. |
ForceCheck | bool | Attempts to get time correction even if disabled. |
리턴 | bool |
public TimeCorrectionProvider ( string Url, bool Enable = true ) : System | ||
Url | string | URL of the server to get check. |
Enable | bool | Enable or disable the time correction check. |
리턴 | System |