Exemple #1
0
 public DownloadInfo(string fileName, string urlFormat, double size, string sha1, DownloadFormat format)
 {
     FileName = fileName;
     Url = string.Format(urlFormat, fileName);
     Size = size;
     Sha1 = sha1;
     Format = format;
 }
Exemple #2
0
 public DownloadInfo(string fileName, string urlFormat, double size, string sha1, DownloadFormat format)
 {
     FileName = fileName;
     Url      = string.Format(urlFormat, fileName);
     Size     = size;
     Sha1     = sha1;
     Format   = format;
 }