summaryrefslogtreecommitdiff
path: root/.packages/microsoft.netcore.app/2.0.0/ref/netcoreapp2.0/System.IO.Compression.ZipFile.xml
blob: 7a3b45d7f3536e0bb02b868c37d4b3e0b4e221f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<?xml version="1.0" encoding="utf-8"?><span>
<doc>
  <assembly>
    <name>System.IO.Compression.ZipFile</name>
  </assembly>
  <members>
    <member name="T:System.IO.Compression.ZipFile">
      <summary>Provides static methods for creating, extracting, and opening zip archives.</summary>
    </member>
    <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String)">
      <summary>Creates a zip archive that contains the files and directories from the specified directory.</summary>
      <param name="sourceDirectoryName">The path to the directory to be archived, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="destinationArchiveFileName">The path of the archive to be created, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <exception cref="T:System.ArgumentException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref>, the specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException"><paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> already exists.   -or-   A file in the specified directory could not be opened.</exception>
      <exception cref="T:System.UnauthorizedAccessException"><paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> specifies a directory.   -or-   The caller does not have the required permission to access the directory specified in <paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or the file specified in <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref>.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> contains an invalid format.   -or-   The zip archive does not support writing.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String,System.IO.Compression.CompressionLevel,System.Boolean)">
      <summary>Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level, and optionally includes the base directory.</summary>
      <param name="sourceDirectoryName">The path to the directory to be archived, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="destinationArchiveFileName">The path of the archive to be created, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="compressionLevel">One of the enumeration values that indicates whether to emphasize speed or compression effectiveness when creating the entry.</param>
      <param name="includeBaseDirectory">true to include the directory name from sourceDirectoryName at the root of the archive; false to include only the contents of the directory.</param>
      <exception cref="T:System.ArgumentException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref>, the specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException"><paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> already exists.   -or-   A file in the specified directory could not be opened.</exception>
      <exception cref="T:System.UnauthorizedAccessException"><paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> specifies a directory.   -or-   The caller does not have the required permission to access the directory specified in <paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or the file specified in <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref>.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> contains an invalid format.   -or-   The zip archive does not support writing.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String,System.IO.Compression.CompressionLevel,System.Boolean,System.Text.Encoding)">
      <summary>Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level and character encoding for entry names, and optionally includes the base directory.</summary>
      <param name="sourceDirectoryName">The path to the directory to be archived, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="destinationArchiveFileName">The path of the archive to be created, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="compressionLevel">One of the enumeration values that indicates whether to emphasize speed or compression effectiveness when creating the entry.</param>
      <param name="includeBaseDirectory">true to include the directory name from sourceDirectoryName at the root of the archive; false to include only the contents of the directory.</param>
      <param name="entryNameEncoding">The encoding to use when reading or writing entry names in this archive. Specify a value for this parameter only when an encoding is required for interoperability with zip archive tools and libraries that do not support UTF-8 encoding for entry names.</param>
      <exception cref="T:System.ArgumentException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.   -or-  <paramref name="entryNameEncoding">entryNameEncoding</paramref> is set to a Unicode encoding other than UTF-8.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref>, the specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException"><paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> already exists.   -or-   A file in the specified directory could not be opened.</exception>
      <exception cref="T:System.UnauthorizedAccessException"><paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> specifies a directory.   -or-   The caller does not have the required permission to access the directory specified in <paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or the file specified in <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref>.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="sourceDirectoryName">sourceDirectoryName</paramref> or <paramref name="destinationArchiveFileName">destinationArchiveFileName</paramref> contains an invalid format.   -or-   The zip archive does not support writing.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String)">
      <summary>Extracts all the files in the specified zip archive to a directory on the file system.</summary>
      <param name="sourceArchiveFileName">The path to the archive that is to be extracted.</param>
      <param name="destinationDirectoryName">The path to the directory in which to place the extracted files, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <exception cref="T:System.ArgumentException"><paramref name="destinationDirectoryName">destinationDirectoryName</paramref> or <paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="destinationDirectoryName">destinationDirectoryName</paramref> or <paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">The specified path in <paramref name="destinationDirectoryName">destinationDirectoryName</paramref> or <paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> exceeds the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException">The directory specified by <paramref name="destinationDirectoryName">destinationDirectoryName</paramref> already exists.   -or-   The name of an entry in the archive is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.   -or-   Extracting an archive entry would create a file that is outside the directory specified by <paramref name="destinationDirectoryName">destinationDirectoryName</paramref>. (For example, this might happen if the entry name contains parent directory accessors.)   -or-   An archive entry to extract has the same name as an entry that has already been extracted from the same archive.</exception>
      <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to access the archive or the destination directory.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="destinationDirectoryName">destinationDirectoryName</paramref> or <paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> contains an invalid format.</exception>
      <exception cref="T:System.IO.FileNotFoundException"><paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> was not found.</exception>
      <exception cref="T:System.IO.InvalidDataException">The archive specified by <paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> is not a valid zip archive.   -or-   An archive entry was not found or was corrupt.   -or-   An archive entry was compressed by using a compression method that is not supported.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String,System.Boolean)">
      <param name="sourceArchiveFileName"></param>
      <param name="destinationDirectoryName"></param>
      <param name="overwriteFiles"></param>
    </member>
    <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String,System.Text.Encoding)">
      <summary>Extracts all the files in the specified zip archive to a directory on the file system and uses the specified character encoding for entry names.</summary>
      <param name="sourceArchiveFileName">The path to the archive that is to be extracted.</param>
      <param name="destinationDirectoryName">The path to the directory in which to place the extracted files, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="entryNameEncoding">The encoding to use when reading or writing entry names in this archive. Specify a value for this parameter only when an encoding is required for interoperability with zip archive tools and libraries that do not support UTF-8 encoding for entry names.</param>
      <exception cref="T:System.ArgumentException"><paramref name="destinationDirectoryName">destinationDirectoryName</paramref> or <paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.   -or-  <paramref name="entryNameEncoding">entryNameEncoding</paramref> is set to a Unicode encoding other than UTF-8.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="destinationDirectoryName">destinationDirectoryName</paramref> or <paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">The specified path in <paramref name="destinationDirectoryName">destinationDirectoryName</paramref> or <paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> exceeds the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException">The directory specified by <paramref name="destinationDirectoryName">destinationDirectoryName</paramref> already exists.   -or-   The name of an entry in the archive is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.   -or-   Extracting an archive entry would create a file that is outside the directory specified by <paramref name="destinationDirectoryName">destinationDirectoryName</paramref>. (For example, this might happen if the entry name contains parent directory accessors.)   -or-   An archive entry to extract has the same name as an entry that has already been extracted from the same archive.</exception>
      <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to access the archive or the destination directory.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="destinationDirectoryName">destinationDirectoryName</paramref> or <paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> contains an invalid format.</exception>
      <exception cref="T:System.IO.FileNotFoundException"><paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> was not found.</exception>
      <exception cref="T:System.IO.InvalidDataException">The archive specified by <paramref name="sourceArchiveFileName">sourceArchiveFileName</paramref> is not a valid zip archive.   -or-   An archive entry was not found or was corrupt.   -or-   An archive entry was compressed by using a compression method that is not supported.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String,System.Text.Encoding,System.Boolean)">
      <param name="sourceArchiveFileName"></param>
      <param name="destinationDirectoryName"></param>
      <param name="entryNameEncoding"></param>
      <param name="overwriteFiles"></param>
    </member>
    <member name="M:System.IO.Compression.ZipFile.Open(System.String,System.IO.Compression.ZipArchiveMode)">
      <summary>Opens a zip archive at the specified path and in the specified mode.</summary>
      <param name="archiveFileName">The path to the archive to open, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="mode">One of the enumeration values that specifies the actions which are allowed on the entries in the opened archive.</param>
      <returns>The opened zip archive.</returns>
      <exception cref="T:System.ArgumentException"><paramref name="archiveFileName">archiveFileName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="archiveFileName">archiveFileName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">In <paramref name="archiveFileName">archiveFileName</paramref>, the specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException"><paramref name="archiveFileName">archiveFileName</paramref> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException"><paramref name="archiveFileName">archiveFileName</paramref> could not be opened.   -or-  <paramref name="mode">mode</paramref> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Create"></see>, but the file specified in <paramref name="archiveFileName">archiveFileName</paramref> already exists.</exception>
      <exception cref="T:System.UnauthorizedAccessException"><paramref name="archiveFileName">archiveFileName</paramref> specifies a directory.   -or-   The caller does not have the required permission to access the file specified in <paramref name="archiveFileName">archiveFileName</paramref>.</exception>
      <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="mode">mode</paramref> specifies an invalid value.</exception>
      <exception cref="T:System.IO.FileNotFoundException"><paramref name="mode">mode</paramref> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Read"></see>, but the file specified in <paramref name="archiveFileName">archiveFileName</paramref> is not found.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="archiveFileName">archiveFileName</paramref> contains an invalid format.</exception>
      <exception cref="T:System.IO.InvalidDataException"><paramref name="archiveFileName">archiveFileName</paramref> could not be interpreted as a zip archive.   -or-  <paramref name="mode">mode</paramref> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update"></see>, but an entry is missing or corrupt and cannot be read.   -or-  <paramref name="mode">mode</paramref> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update"></see>, but an entry is too large to fit into memory.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.Open(System.String,System.IO.Compression.ZipArchiveMode,System.Text.Encoding)">
      <summary>Opens a zip archive at the specified path, in the specified mode, and by using the specified character encoding for entry names.</summary>
      <param name="archiveFileName">The path to the archive to open, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="mode">One of the enumeration values that specifies the actions that are allowed on the entries in the opened archive.</param>
      <param name="entryNameEncoding">The encoding to use when reading or writing entry names in this archive. Specify a value for this parameter only when an encoding is required for interoperability with zip archive tools and libraries that do not support UTF-8 encoding for entry names.</param>
      <returns>The opened zip archive.</returns>
      <exception cref="T:System.ArgumentException"><paramref name="archiveFileName">archiveFileName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.   -or-  <paramref name="entryNameEncoding">entryNameEncoding</paramref> is set to a Unicode encoding other than UTF-8.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="archiveFileName">archiveFileName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">In <paramref name="archiveFileName">archiveFileName</paramref>, the specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException"><paramref name="archiveFileName">archiveFileName</paramref> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException"><paramref name="archiveFileName">archiveFileName</paramref> could not be opened.   -or-  <paramref name="mode">mode</paramref> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Create"></see>, but the file specified in <paramref name="archiveFileName">archiveFileName</paramref> already exists.</exception>
      <exception cref="T:System.UnauthorizedAccessException"><paramref name="archiveFileName">archiveFileName</paramref> specifies a directory.   -or-   The caller does not have the required permission to access the file specified in <paramref name="archiveFileName">archiveFileName</paramref>.</exception>
      <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="mode">mode</paramref> specifies an invalid value.</exception>
      <exception cref="T:System.IO.FileNotFoundException"><paramref name="mode">mode</paramref> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Read"></see>, but the file specified in <paramref name="archiveFileName">archiveFileName</paramref> is not found.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="archiveFileName">archiveFileName</paramref> contains an invalid format.</exception>
      <exception cref="T:System.IO.InvalidDataException"><paramref name="archiveFileName">archiveFileName</paramref> could not be interpreted as a zip archive.   -or-  <paramref name="mode">mode</paramref> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update"></see>, but an entry is missing or corrupt and cannot be read.   -or-  <paramref name="mode">mode</paramref> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update"></see>, but an entry is too large to fit into memory.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.OpenRead(System.String)">
      <summary>Opens a zip archive for reading at the specified path.</summary>
      <param name="archiveFileName">The path to the archive to open, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <returns>The opened zip archive.</returns>
      <exception cref="T:System.ArgumentException"><paramref name="archiveFileName">archiveFileName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="archiveFileName">archiveFileName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">In <paramref name="archiveFileName">archiveFileName</paramref>, the specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException"><paramref name="archiveFileName">archiveFileName</paramref> is invalid or does not exist (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException"><paramref name="archiveFileName">archiveFileName</paramref> could not be opened.</exception>
      <exception cref="T:System.UnauthorizedAccessException"><paramref name="archiveFileName">archiveFileName</paramref> specifies a directory.   -or-   The caller does not have the required permission to access the file specified in <paramref name="archiveFileName">archiveFileName</paramref>.</exception>
      <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="archiveFileName">archiveFileName</paramref> is not found.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="archiveFileName">archiveFileName</paramref> contains an invalid format.</exception>
      <exception cref="T:System.IO.InvalidDataException"><paramref name="archiveFileName">archiveFileName</paramref> could not be interpreted as a zip archive.</exception>
    </member>
    <member name="T:System.IO.Compression.ZipFileExtensions">
      <summary>Provides extension methods for the <see cref="T:System.IO.Compression.ZipArchive"></see> and <see cref="T:System.IO.Compression.ZipArchiveEntry"></see> classes.</summary>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(System.IO.Compression.ZipArchive,System.String,System.String)">
      <summary>Archives a file by compressing it and adding it to the zip archive.</summary>
      <param name="destination">The zip archive to add the file to.</param>
      <param name="sourceFileName">The path to the file to be archived. You can specify either a relative or an absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="entryName">The name of the entry to create in the zip archive.</param>
      <returns>A wrapper for the new entry in the zip archive.</returns>
      <exception cref="T:System.ArgumentException"><paramref name="sourceFileName">sourceFileName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.   -or-  <paramref name="entryName">entryName</paramref> is <see cref="F:System.String.Empty"></see>.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="sourceFileName">sourceFileName</paramref> or <paramref name="entryName">entryName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceFileName">sourceFileName</paramref>, the specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException"><paramref name="sourceFileName">sourceFileName</paramref> is invalid (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException">The file specified by <paramref name="sourceFileName">sourceFileName</paramref> cannot be opened.</exception>
      <exception cref="T:System.UnauthorizedAccessException"><paramref name="sourceFileName">sourceFileName</paramref> specifies a directory.   -or-   The caller does not have the required permission to access the file specified by <paramref name="sourceFileName">sourceFileName</paramref>.</exception>
      <exception cref="T:System.IO.FileNotFoundException">The file specified by <paramref name="sourceFileName">sourceFileName</paramref> is not found.</exception>
      <exception cref="T:System.NotSupportedException">The <paramref name="sourceFileName">sourceFileName</paramref> parameter is in an invalid format.   -or-   The zip archive does not support writing.</exception>
      <exception cref="T:System.ObjectDisposedException">The zip archive has been disposed.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(System.IO.Compression.ZipArchive,System.String,System.String,System.IO.Compression.CompressionLevel)">
      <summary>Archives a file by compressing it using the specified compression level and adding it to the zip archive.</summary>
      <param name="destination">The zip archive to add the file to.</param>
      <param name="sourceFileName">The path to the file to be archived. You can specify either a relative or an absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="entryName">The name of the entry to create in the zip archive.</param>
      <param name="compressionLevel">One of the enumeration values that indicates whether to emphasize speed or compression effectiveness when creating the entry.</param>
      <returns>A wrapper for the new entry in the zip archive.</returns>
      <exception cref="T:System.ArgumentException"><paramref name="sourceFileName">sourceFileName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.   -or-  <paramref name="entryName">entryName</paramref> is <see cref="F:System.String.Empty"></see>.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="sourceFileName">sourceFileName</paramref> or <paramref name="entryName">entryName</paramref> is null.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException"><paramref name="sourceFileName">sourceFileName</paramref> is invalid (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceFileName">sourceFileName</paramref>, the specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.IOException">The file specified by <paramref name="sourceFileName">sourceFileName</paramref> cannot be opened.</exception>
      <exception cref="T:System.UnauthorizedAccessException"><paramref name="sourceFileName">sourceFileName</paramref> specifies a directory.   -or-   The caller does not have the required permission to access the file specified by <paramref name="sourceFileName">sourceFileName</paramref>.</exception>
      <exception cref="T:System.IO.FileNotFoundException">The file specified by <paramref name="sourceFileName">sourceFileName</paramref> is not found.</exception>
      <exception cref="T:System.NotSupportedException">The <paramref name="sourceFileName">sourceFileName</paramref> parameter is in an invalid format.   -or-   The zip archive does not support writing.</exception>
      <exception cref="T:System.ObjectDisposedException">The zip archive has been disposed.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToDirectory(System.IO.Compression.ZipArchive,System.String)">
      <summary>Extracts all the files in the zip archive to a directory on the file system.</summary>
      <param name="source">The zip archive to extract files from.</param>
      <param name="destinationDirectoryName">The path to the directory to place the extracted files in. You can specify either a relative or an absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <exception cref="T:System.ArgumentException"><paramref name="destinationDirectoryName">destinationDirectoryName</paramref> is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="destinationDirectoryName">destinationDirectoryName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">The specified path exceeds the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException">The directory specified by <paramref name="destinationDirectoryName">destinationDirectoryName</paramref> already exists.   -or-   The name of an entry in the archive is <see cref="F:System.String.Empty"></see>, contains only white space, or contains at least one invalid character.   -or-   Extracting an entry from the archive would create a file that is outside the directory specified by <paramref name="destinationDirectoryName">destinationDirectoryName</paramref>. (For example, this might happen if the entry name contains parent directory accessors.)   -or-   Two or more entries in the archive have the same name.</exception>
      <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to write to the destination directory.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="destinationDirectoryName">destinationDirectoryName</paramref> contains an invalid format.</exception>
      <exception cref="T:System.IO.InvalidDataException">An archive entry cannot be found or is corrupt.   -or-   An archive entry was compressed by using a compression method that is not supported.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToDirectory(System.IO.Compression.ZipArchive,System.String,System.Boolean)">
      <param name="source"></param>
      <param name="destinationDirectoryName"></param>
      <param name="overwriteFiles"></param>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToFile(System.IO.Compression.ZipArchiveEntry,System.String)">
      <summary>Extracts an entry in the zip archive to a file.</summary>
      <param name="source">The zip archive entry to extract a file from.</param>
      <param name="destinationFileName">The path of the file to create from the contents of the entry. You can  specify either a relative or an absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <exception cref="T:System.ArgumentException"><paramref name="destinationFileName">destinationFileName</paramref> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars"></see>.   -or-  <paramref name="destinationFileName">destinationFileName</paramref> specifies a directory.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="destinationFileName">destinationFileName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException"><paramref name="destinationFileName">destinationFileName</paramref> already exists.   -or-   An I/O error occurred.   -or-   The entry is currently open for writing.   -or-   The entry has been deleted from the archive.</exception>
      <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to create the new file.</exception>
      <exception cref="T:System.IO.InvalidDataException">The entry is missing from the archive, or is corrupt and cannot be read.   -or-   The entry has been compressed by using a compression method that is not supported.</exception>
      <exception cref="T:System.ObjectDisposedException">The zip archive that this entry belongs to has been disposed.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="destinationFileName">destinationFileName</paramref> is in an invalid format.   -or-   The zip archive for this entry was opened in <see cref="F:System.IO.Compression.ZipArchiveMode.Create"></see> mode, which does not permit the retrieval of entries.</exception>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToFile(System.IO.Compression.ZipArchiveEntry,System.String,System.Boolean)">
      <summary>Extracts an entry in the zip archive to a file, and optionally overwrites an existing file that has the same name.</summary>
      <param name="source">The zip archive entry to extract a file from.</param>
      <param name="destinationFileName">The path of the file to create from the contents of the entry. You can specify either a relative or an absolute path. A relative path is interpreted as relative to the current working directory.</param>
      <param name="overwrite">true to overwrite an existing file that has the same name as the destination file; otherwise, false.</param>
      <exception cref="T:System.ArgumentException"><paramref name="destinationFileName">destinationFileName</paramref> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars"></see>.   -or-  <paramref name="destinationFileName">destinationFileName</paramref> specifies a directory.</exception>
      <exception cref="T:System.ArgumentNullException"><paramref name="destinationFileName">destinationFileName</paramref> is null.</exception>
      <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must not exceed 248 characters, and file names must not exceed 260 characters.</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
      <exception cref="T:System.IO.IOException"><paramref name="destinationFileName">destinationFileName</paramref> already exists and <paramref name="overwrite">overwrite</paramref> is false.   -or-   An I/O error occurred.   -or-   The entry is currently open for writing.   -or-   The entry has been deleted from the archive.</exception>
      <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to create the new file.</exception>
      <exception cref="T:System.IO.InvalidDataException">The entry is missing from the archive or is corrupt and cannot be read.   -or-   The entry has been compressed by using a compression method that is not supported.</exception>
      <exception cref="T:System.ObjectDisposedException">The zip archive that this entry belongs to has been disposed.</exception>
      <exception cref="T:System.NotSupportedException"><paramref name="destinationFileName">destinationFileName</paramref> is in an invalid format.   -or-   The zip archive for this entry was opened in <see cref="F:System.IO.Compression.ZipArchiveMode.Create"></see> mode, which does not permit the retrieval of entries.</exception>
    </member>
  </members>
</doc></span>