I am testing a program that downloads a zipped directory that contains text files. I tried writing a utility that unzips the directory in c# but the version of C# does not support System.IO.Compression.ZipFile. I would like to be able to unzip the files to read and compare. Is there a way to read the zipped files without this namespace package?
Here is the example C# code I tried using as an example which does not work because the .ZipFile namespace does not exist.
using System;
using System.IO;
using System.IO.Compression;
...
string startPath = @"c:\example\start";
string zipPath = @"c:\example\result.zip";
string extractPath = @"c:\example\extract";
ZipFile.CreateFromDirectory(startPath, zipPath);
ZipFile.ExtractToDirectory(zipPath, extractPath);