public void Load() { _blocksManager.Load(); lock (_lockObject) { int version = _settings.Load("Version", () => 0); foreach (var contentInfo in _settings.Load <IEnumerable <ContentInfo> >("ContentInfos", () => Array.Empty <ContentInfo>())) { _contentInfoManager.Add(contentInfo); foreach (var hash in contentInfo.LockedHashes) { _blocksManager.Lock(hash); } } _checkTimer.Start(new TimeSpan(0, 0, 0), new TimeSpan(0, 10, 0)); } }