How do you convert a physical zip file to System.IO.Stream object?
I tried -
System.IO.Stream stream = File.ReadAllBytes(Path + "\\" + "ZipFile.zip");
StreamReader stream = new StreamReader(Path + "\\" + "ZipFile.zip");
System.IO.Stream stream = new FileStream(Path + "\\" + "ZipFile.zip", FileMode.Open); stream.Close();
None of them seems to be working.
When trying to read the stream it either says the stream is not readable
or the file seems corrupt at the destination and cannot be unzipped