public bool CheckLockTime() { if (locktime == 0) return false; if (System.Environment.TickCount - lastlocktime > locktime) { locktime = 0; return false; } return true; }