I am trying to take a list of ZipArchiveEntry
s and convert them into byte arrays, but I am logistically running into a wall.
So far I am trying to convert it into a MemoryStream
to convert it into the byte[] like this:
public static void ScanUpload(List<ZipArchiveEntry> scan)
{
foreach (var s in scan)
{
using (var ms = new MemoryStream())
{
}
}
}
But I have no idea what comes next. or even if this is the right way to go about this. Would someone be able to help?