public Version GetLatest() { try { Version latestVersion = _releaseInfoReader.GetLatestVersion(); LocalInfo.SetTimeLastCheckForUpdate(DateTime.Now); return(latestVersion); } catch (Exception e) { Log.Error("Could not get latest version: " + e.Message); return(null); } }
public DateTime?GetTimeLastCheckForUpdate() { return(LocalInfo.GetTimeLastCheckForUpdate()); }