Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

328
Views
DotNetZip NOT supported in .NET 5

I have programmatically created a password-protected zip file using DotNetZip in c#. but when I try to unzip using ExtractWithPassword method in DotNetZip, the zip file is not recognized as a zip file. the returned output is a MemoryStream. Is there any alternative zip sdk available to create password-protected zip file and output as a MemoryStream?

 MemoryStream NewStream = new ();

  try
  {
      using (ZipFile zip = ZipFile.Read(Zipfile))
      {
          foreach (var item in zip)
          {
               item.ExtractWithPassword(NewStream, Password);
          }
       }
  }
  catch (Exception ex)
  {
      Console.WriteLine(ex.Message);
  }
      

TIA.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!