I have a Stream that i want to read and then zip it,
This stream is generated by HttpRequestMessage in web api as posting a zip file through restclient and code as below
var task = this.Request.Content.ReadAsStreamAsync();
task.Wait();
using (Stream requestStream = task.Result)
{ }
using DotNetZip i need to convert this requeststream to zip file ?
Waiting for your comments