public void TagValidRepository(RepositoryInfo repository) { DateTime TimeNow = DateTime.UtcNow; long FileTime = TimeNow.ToFileTime(); string LastCheckDateKey = SettingLastCheckDateKey(repository.Source); RepositorySettings.SetString(LastCheckDateKey, FileTime.ToString()); string LastValidCommitKey = SettingLastValidCommitKey(repository.Source); RepositorySettings.SetString(LastValidCommitKey, repository.MasterCommitSha); }