Пример #1
0
 public WallpaperFolderManager(string folderPath)
 {
     _folderPath      = folderPath;
     _checksumFile    = new ChecksumFile(Path.Combine(_folderPath, ".lwr"));
     _masterChecksums = _checksumFile.GetChecksums();
     CreateFolderIfNotExists();
     GenerateFileLists();
 }
Пример #2
0
 public string[] GetChecksums()
 {
     return(_checksumFile.Exists
         ? _checksumFile.GetChecksums()
         : GenerateThenWriteChecksumFile());
 }