Hi
I am backing up my Steam games in RAR files The point is to verify offline L4D2 game
I wish to read each entry in the rar file then check to see if it exists
but I am getting this error
System.IO.InvalidDataException: Split or spanned archives are not supported. at System.IO.Compression.ZipArchive.ReadEndOfCen tralDirectory()
using System;
using System.IO;
using System.IO.Compression;
private void btn_ReadfromZipfile_Click(object sender, EventArgs e)
{
DialogResult result = file.ShowDialog();
if (result == DialogResult.OK)
{
string txtArchiveName = Path.GetFullPath(Path.Combine(Application.Sta rtupPath, file.FileName));
using (ZipArchive zip = ZipFile.OpenRead(txtArchiveName))
{
// Loop through the archive's files.
foreach (ZipArchiveEntry entry in zip.Entries)
{
// if(zip_entry.);
listBox1.SelectedItems
omeglz.Add(entry.FullName);
CheckFileExists(entry.FullName);
}
}
}
}