Beispiel #1
0
 /// <summary>
 ///     Constructor added by lyne408 to support password.
 /// </summary>
 /// <param name="path">Archive file path.</param>
 /// <param name="password">Password of that archive.</param>
 public SevenZipProvider(string path, string password)
 {
     Console.WriteLine($"Loading archive {path}, using password");
     this.extractorPool = new ConcurrentObjectPool <SevenZipExtractor>(() => new SevenZipExtractor(path, password));
 }
Beispiel #2
0
 public SevenZipProvider(string path)
 {
     Console.WriteLine($"Loading archive {path} with 7z.dll");
     this.extractorPool = new ConcurrentObjectPool <SevenZipExtractor>(() => new SevenZipExtractor(path));
 }