{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "I'm creating a zip file that needs to have a password.\nI've tried two ways:\n```\n               ZipOutputStream zipStream = new ZipOutputStream(fileStream);\n                zipStream.Password = password;\n                zipStream.Encryption = EncryptionAlgorithm.WinZipAes128;\n                zipStream.PutNextEntry(fileName);\n                buffer = Encoding.ASCII.GetBytes(builder.ToString());\n                zipStream.Write(buffer, 0, buffer.Length);\n                zipStream.Close();\n```\n\nand:\n```\n                using (var zip = new ZipFile())\n                {\n                    zip.AddEntry(fileName+\".dat\", fileStream);\n                    zip.Password = filtro.Password;\n                    zip.Encryption = EncryptionAlgorithm.WinZipAes128;\n                    var saveToFilePath = \"c:\\\\temp\\\\\"+fileName+\".zip\";\n                    zip.Save(saveToFilePath);\n                }\n```\n\nbut when I try to open the file in Windows 7 and 8 (build in zipfile opener or WinRAR), it doesn't asks for password.",
    "LastUpdatedDate": "2015-08-25T09:50:05.873-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Unassigned",
      "Severity": 0,
      "Id": 0
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2014-12-05T05:49:00.42-08:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Zip File created with password not asking for it when opening",
    "Type": {
      "Name": "Unassigned",
      "Id": 5
    },
    "VoteCount": 1,
    "Id": 17205
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "I have some problem. did you fixed it?",
      "PostedDate": "2015-08-25T09:45:06.287-07:00",
      "Id": -2147483648
    },
    {
      "Message": "I think I found the reason. You need to set the password first. very simple reason.",
      "PostedDate": "2015-08-25T09:50:05.873-07:00",
      "Id": -2147483648
    }
  ]
}