public boolean shouldRefresh() {long now = System.currentTimeMillis();return now - lastFailedRefreshTime > refreshIntervalInMillSeconds;}

public bool ShouldRefresh(){var now = DateTime.UtcNow.Ticks;return now - lastFailedRefreshTime > refreshIntervalInMillSeconds;}
