1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Net.WebClient</name>
6 <member name="T:System.Net.WriteStreamClosedEventHandler">
7 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.WriteStreamClosed"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
8 <param name="sender"></param>
9 <param name="e"></param>
11 <member name="T:System.Net.WriteStreamClosedEventArgs">
12 <summary>Provides data for the <see cref="E:System.Net.WebClient.WriteStreamClosed"></see> event.</summary>
14 <member name="M:System.Net.WriteStreamClosedEventArgs.#ctor">
15 <summary>Initializes a new instance of the <see cref="T:System.Net.WriteStreamClosedEventArgs"></see> class.</summary>
17 <member name="P:System.Net.WriteStreamClosedEventArgs.Error">
18 <summary>Gets the error value when a write stream is closed.</summary>
19 <returns>Returns <see cref="T:System.Exception"></see>.</returns>
21 <member name="T:System.Net.WebClient">
22 <summary>Provides common methods for sending data to and receiving data from a resource identified by a URI.</summary>
24 <member name="M:System.Net.WebClient.#ctor">
25 <summary>Initializes a new instance of the <see cref="T:System.Net.WebClient"></see> class.</summary>
27 <member name="P:System.Net.WebClient.AllowReadStreamBuffering">
28 <summary>Gets or sets a value that indicates whether to buffer the data read from the Internet resource for a <see cref="T:System.Net.WebClient"></see> instance.</summary>
29 <returns>Returns <see cref="T:System.Boolean"></see>.
30 <see langword="true"></see> to enable buffering of the data received from the Internet resource; <see langword="false"></see> to disable buffering. The default is <see langword="true"></see>.</returns>
32 <member name="P:System.Net.WebClient.AllowWriteStreamBuffering">
33 <summary>Gets or sets a value that indicates whether to buffer the data written to the Internet resource for a <see cref="T:System.Net.WebClient"></see> instance.</summary>
34 <returns>Returns <see cref="T:System.Boolean"></see>.
35 <see langword="true"></see> to enable buffering of the data written to the Internet resource; <see langword="false"></see> to disable buffering. The default is <see langword="true"></see>.</returns>
37 <member name="P:System.Net.WebClient.BaseAddress">
38 <summary>Gets or sets the base URI for requests made by a <see cref="T:System.Net.WebClient"></see>.</summary>
39 <returns>A <see cref="T:System.String"></see> containing the base URI for requests made by a <see cref="T:System.Net.WebClient"></see> or <see cref="F:System.String.Empty"></see> if no base address has been specified.</returns>
40 <exception cref="T:System.ArgumentException"><see cref="System.Net.WebClient.BaseAddress"></see> is set to an invalid URI. The inner exception may contain information that will help you locate the error.</exception>
42 <member name="P:System.Net.WebClient.CachePolicy">
43 <summary>Gets or sets the application&#39;s cache policy for any resources obtained by this WebClient instance using <see cref="T:System.Net.WebRequest"></see> objects.</summary>
44 <returns>A <see cref="T:System.Net.Cache.RequestCachePolicy"></see> object that represents the application&#39;s caching requirements.</returns>
46 <member name="M:System.Net.WebClient.CancelAsync">
47 <summary>Cancels a pending asynchronous operation.</summary>
49 <member name="P:System.Net.WebClient.Credentials">
50 <summary>Gets or sets the network credentials that are sent to the host and used to authenticate the request.</summary>
51 <returns>An <see cref="T:System.Net.ICredentials"></see> containing the authentication credentials for the request. The default is <see langword="null"></see>.</returns>
53 <member name="M:System.Net.WebClient.DownloadData(System.String)">
54 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified.</summary>
55 <param name="address">The URI from which to download data.</param>
56 <returns>A <see cref="T:System.Byte"></see> array containing the downloaded resource.</returns>
57 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
58 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
60 An error occurred while downloading data.</exception>
61 <exception cref="T:System.NotSupportedException">The method has been called simultaneously on multiple threads.</exception>
63 <member name="M:System.Net.WebClient.DownloadData(System.Uri)">
64 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified.</summary>
65 <param name="address">The URI represented by the <see cref="T:System.Uri"></see> object, from which to download data.</param>
66 <returns>A <see cref="T:System.Byte"></see> array containing the downloaded resource.</returns>
67 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
69 <member name="M:System.Net.WebClient.DownloadDataAsync(System.Uri)">
70 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified as an asynchronous operation.</summary>
71 <param name="address">A <see cref="T:System.Uri"></see> containing the URI to download.</param>
72 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
73 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
75 An error occurred while downloading the resource.</exception>
77 <member name="M:System.Net.WebClient.DownloadDataAsync(System.Uri,System.Object)">
78 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified as an asynchronous operation.</summary>
79 <param name="address">A <see cref="T:System.Uri"></see> containing the URI to download.</param>
80 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
81 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
82 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
84 An error occurred while downloading the resource.</exception>
86 <member name="E:System.Net.WebClient.DownloadDataCompleted">
87 <summary>Occurs when an asynchronous data download operation completes.</summary>
89 <member name="M:System.Net.WebClient.DownloadDataTaskAsync(System.String)">
90 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified as an asynchronous operation using a task object.</summary>
91 <param name="address">The URI of the resource to download.</param>
92 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
93 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the downloaded resource.</returns>
94 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
95 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
97 An error occurred while downloading the resource.</exception>
99 <member name="M:System.Net.WebClient.DownloadDataTaskAsync(System.Uri)">
100 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified as an asynchronous operation using a task object.</summary>
101 <param name="address">The URI of the resource to download.</param>
102 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
103 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the downloaded resource.</returns>
104 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
105 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
107 An error occurred while downloading the resource.</exception>
109 <member name="M:System.Net.WebClient.DownloadFile(System.Uri,System.String)">
110 <summary>Downloads the resource with the specified URI to a local file.</summary>
111 <param name="address">The URI specified as a <see cref="T:System.String"></see>, from which to download data.</param>
112 <param name="fileName">The name of the local file that is to receive the data.</param>
113 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
115 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
116 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
118 <paramref name="filename">filename</paramref> is <see langword="null"></see> or <see cref="System.String.Empty"></see>.
120 The file does not exist.
122 An error occurred while downloading data.</exception>
123 <exception cref="T:System.NotSupportedException">The method has been called simultaneously on multiple threads.</exception>
125 <member name="M:System.Net.WebClient.DownloadFile(System.String,System.String)">
126 <summary>Downloads the resource with the specified URI to a local file.</summary>
127 <param name="address">The URI from which to download data.</param>
128 <param name="fileName">The name of the local file that is to receive the data.</param>
129 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
130 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
132 <paramref name="filename">filename</paramref> is <see langword="null"></see> or <see cref="System.String.Empty"></see>.
134 The file does not exist.
135 -or- An error occurred while downloading data.</exception>
136 <exception cref="T:System.NotSupportedException">The method has been called simultaneously on multiple threads.</exception>
138 <member name="M:System.Net.WebClient.DownloadFileAsync(System.Uri,System.String)">
139 <summary>Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.</summary>
140 <param name="address">The URI of the resource to download.</param>
141 <param name="fileName">The name of the file to be placed on the local computer.</param>
142 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
144 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
145 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
147 An error occurred while downloading the resource.</exception>
148 <exception cref="T:System.InvalidOperationException">The local file specified by <paramref name="fileName">fileName</paramref> is in use by another thread.</exception>
150 <member name="M:System.Net.WebClient.DownloadFileAsync(System.Uri,System.String,System.Object)">
151 <summary>Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.</summary>
152 <param name="address">The URI of the resource to download.</param>
153 <param name="fileName">The name of the file to be placed on the local computer.</param>
154 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
155 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
157 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
158 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
160 An error occurred while downloading the resource.</exception>
161 <exception cref="T:System.InvalidOperationException">The local file specified by <paramref name="fileName">fileName</paramref> is in use by another thread.</exception>
163 <member name="E:System.Net.WebClient.DownloadFileCompleted">
164 <summary>Occurs when an asynchronous file download operation completes.</summary>
166 <member name="M:System.Net.WebClient.DownloadFileTaskAsync(System.String,System.String)">
167 <summary>Downloads the specified resource to a local file as an asynchronous operation using a task object.</summary>
168 <param name="address">The URI of the resource to download.</param>
169 <param name="fileName">The name of the file to be placed on the local computer.</param>
170 <returns>Returns <see cref="T:System.Threading.Tasks.Task"></see>.
171 The task object representing the asynchronous operation.</returns>
172 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
174 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
175 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
177 An error occurred while downloading the resource.</exception>
178 <exception cref="T:System.InvalidOperationException">The local file specified by <paramref name="fileName">fileName</paramref> is in use by another thread.</exception>
180 <member name="M:System.Net.WebClient.DownloadFileTaskAsync(System.Uri,System.String)">
181 <summary>Downloads the specified resource to a local file as an asynchronous operation using a task object.</summary>
182 <param name="address">The URI of the resource to download.</param>
183 <param name="fileName">The name of the file to be placed on the local computer.</param>
184 <returns>Returns <see cref="T:System.Threading.Tasks.Task"></see>.
185 The task object representing the asynchronous operation.</returns>
186 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
188 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
189 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
191 An error occurred while downloading the resource.</exception>
192 <exception cref="T:System.InvalidOperationException">The local file specified by <paramref name="fileName">fileName</paramref> is in use by another thread.</exception>
194 <member name="E:System.Net.WebClient.DownloadProgressChanged">
195 <summary>Occurs when an asynchronous download operation successfully transfers some or all of the data.</summary>
197 <member name="M:System.Net.WebClient.DownloadString(System.String)">
198 <summary>Downloads the requested resource as a <see cref="T:System.String"></see>. The resource to download is specified as a <see cref="T:System.String"></see> containing the URI.</summary>
199 <param name="address">A <see cref="T:System.String"></see> containing the URI to download.</param>
200 <returns>A <see cref="T:System.String"></see> containing the requested resource.</returns>
201 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
202 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
204 An error occurred while downloading the resource.</exception>
205 <exception cref="T:System.NotSupportedException">The method has been called simultaneously on multiple threads.</exception>
207 <member name="M:System.Net.WebClient.DownloadString(System.Uri)">
208 <summary>Downloads the requested resource as a <see cref="T:System.String"></see>. The resource to download is specified as a <see cref="T:System.Uri"></see>.</summary>
209 <param name="address">A <see cref="T:System.Uri"></see> object containing the URI to download.</param>
210 <returns>A <see cref="T:System.String"></see> containing the requested resource.</returns>
211 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
212 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
214 An error occurred while downloading the resource.</exception>
215 <exception cref="T:System.NotSupportedException">The method has been called simultaneously on multiple threads.</exception>
217 <member name="M:System.Net.WebClient.DownloadStringAsync(System.Uri)">
218 <summary>Downloads the resource specified as a <see cref="T:System.Uri"></see>. This method does not block the calling thread.</summary>
219 <param name="address">A <see cref="T:System.Uri"></see> containing the URI to download.</param>
220 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
221 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
223 An error occurred while downloading the resource.</exception>
225 <member name="M:System.Net.WebClient.DownloadStringAsync(System.Uri,System.Object)">
226 <summary>Downloads the specified string to the specified resource. This method does not block the calling thread.</summary>
227 <param name="address">A <see cref="T:System.Uri"></see> containing the URI to download.</param>
228 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
229 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
230 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
232 An error occurred while downloading the resource.</exception>
234 <member name="E:System.Net.WebClient.DownloadStringCompleted">
235 <summary>Occurs when an asynchronous resource-download operation completes.</summary>
237 <member name="M:System.Net.WebClient.DownloadStringTaskAsync(System.String)">
238 <summary>Downloads the resource as a <see cref="T:System.String"></see> from the URI specified as an asynchronous operation using a task object.</summary>
239 <param name="address">The URI of the resource to download.</param>
240 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
241 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the downloaded resource.</returns>
242 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
243 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
245 An error occurred while downloading the resource.</exception>
247 <member name="M:System.Net.WebClient.DownloadStringTaskAsync(System.Uri)">
248 <summary>Downloads the resource as a <see cref="T:System.String"></see> from the URI specified as an asynchronous operation using a task object.</summary>
249 <param name="address">The URI of the resource to download.</param>
250 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
251 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the downloaded resource.</returns>
252 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
253 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
255 An error occurred while downloading the resource.</exception>
257 <member name="P:System.Net.WebClient.Encoding">
258 <summary>Gets and sets the <see cref="T:System.Text.Encoding"></see> used to upload and download strings.</summary>
259 <returns>A <see cref="T:System.Text.Encoding"></see> that is used to encode strings. The default value of this property is the encoding returned by <see cref="P:System.Text.Encoding.Default"></see>.</returns>
261 <member name="M:System.Net.WebClient.GetWebRequest(System.Uri)">
262 <summary>Returns a <see cref="T:System.Net.WebRequest"></see> object for the specified resource.</summary>
263 <param name="address">A <see cref="T:System.Uri"></see> that identifies the resource to request.</param>
264 <returns>A new <see cref="T:System.Net.WebRequest"></see> object for the specified resource.</returns>
266 <member name="M:System.Net.WebClient.GetWebResponse(System.Net.WebRequest)">
267 <summary>Returns the <see cref="T:System.Net.WebResponse"></see> for the specified <see cref="T:System.Net.WebRequest"></see>.</summary>
268 <param name="request">A <see cref="T:System.Net.WebRequest"></see> that is used to obtain the response.</param>
269 <returns>A <see cref="T:System.Net.WebResponse"></see> containing the response for the specified <see cref="T:System.Net.WebRequest"></see>.</returns>
271 <member name="M:System.Net.WebClient.GetWebResponse(System.Net.WebRequest,System.IAsyncResult)">
272 <summary>Returns the <see cref="T:System.Net.WebResponse"></see> for the specified <see cref="T:System.Net.WebRequest"></see> using the specified <see cref="T:System.IAsyncResult"></see>.</summary>
273 <param name="request">A <see cref="T:System.Net.WebRequest"></see> that is used to obtain the response.</param>
274 <param name="result">An <see cref="T:System.IAsyncResult"></see> object obtained from a previous call to <see cref="M:System.Net.WebRequest.BeginGetResponse(System.AsyncCallback,System.Object)"></see> .</param>
275 <returns>A <see cref="T:System.Net.WebResponse"></see> containing the response for the specified <see cref="T:System.Net.WebRequest"></see>.</returns>
277 <member name="P:System.Net.WebClient.Headers">
278 <summary>Gets or sets a collection of header name/value pairs associated with the request.</summary>
279 <returns>A <see cref="T:System.Net.WebHeaderCollection"></see> containing header name/value pairs associated with this request.</returns>
281 <member name="P:System.Net.WebClient.IsBusy">
282 <summary>Gets whether a Web request is in progress.</summary>
283 <returns><see langword="true"></see> if the Web request is still in progress; otherwise <see langword="false"></see>.</returns>
285 <member name="M:System.Net.WebClient.OnDownloadDataCompleted(System.Net.DownloadDataCompletedEventArgs)">
286 <summary>Raises the <see cref="E:System.Net.WebClient.DownloadDataCompleted"></see> event.</summary>
287 <param name="e">A <see cref="T:System.Net.DownloadDataCompletedEventArgs"></see> object that contains event data.</param>
289 <member name="M:System.Net.WebClient.OnDownloadFileCompleted(System.ComponentModel.AsyncCompletedEventArgs)">
290 <summary>Raises the <see cref="E:System.Net.WebClient.DownloadFileCompleted"></see> event.</summary>
291 <param name="e">An <see cref="T:System.ComponentModel.AsyncCompletedEventArgs"></see> object containing event data.</param>
293 <member name="M:System.Net.WebClient.OnDownloadProgressChanged(System.Net.DownloadProgressChangedEventArgs)">
294 <summary>Raises the <see cref="E:System.Net.WebClient.DownloadProgressChanged"></see> event.</summary>
295 <param name="e">A <see cref="T:System.Net.DownloadProgressChangedEventArgs"></see> object containing event data.</param>
297 <member name="M:System.Net.WebClient.OnDownloadStringCompleted(System.Net.DownloadStringCompletedEventArgs)">
298 <summary>Raises the <see cref="E:System.Net.WebClient.DownloadStringCompleted"></see> event.</summary>
299 <param name="e">A <see cref="T:System.Net.DownloadStringCompletedEventArgs"></see> object containing event data.</param>
301 <member name="M:System.Net.WebClient.OnOpenReadCompleted(System.Net.OpenReadCompletedEventArgs)">
302 <summary>Raises the <see cref="E:System.Net.WebClient.OpenReadCompleted"></see> event.</summary>
303 <param name="e">A <see cref="T:System.Net.OpenReadCompletedEventArgs"></see> object containing event data.</param>
305 <member name="M:System.Net.WebClient.OnOpenWriteCompleted(System.Net.OpenWriteCompletedEventArgs)">
306 <summary>Raises the <see cref="E:System.Net.WebClient.OpenWriteCompleted"></see> event.</summary>
307 <param name="e">A <see cref="T:System.Net.OpenWriteCompletedEventArgs"></see> object containing event data.</param>
309 <member name="M:System.Net.WebClient.OnUploadDataCompleted(System.Net.UploadDataCompletedEventArgs)">
310 <summary>Raises the <see cref="E:System.Net.WebClient.UploadDataCompleted"></see> event.</summary>
311 <param name="e">A <see cref="T:System.Net.UploadDataCompletedEventArgs"></see> object containing event data.</param>
313 <member name="M:System.Net.WebClient.OnUploadFileCompleted(System.Net.UploadFileCompletedEventArgs)">
314 <summary>Raises the <see cref="E:System.Net.WebClient.UploadFileCompleted"></see> event.</summary>
315 <param name="e">An <see cref="T:System.Net.UploadFileCompletedEventArgs"></see> object containing event data.</param>
317 <member name="M:System.Net.WebClient.OnUploadProgressChanged(System.Net.UploadProgressChangedEventArgs)">
318 <summary>Raises the <see cref="E:System.Net.WebClient.UploadProgressChanged"></see> event.</summary>
319 <param name="e">An <see cref="T:System.Net.UploadProgressChangedEventArgs"></see> object containing event data.</param>
321 <member name="M:System.Net.WebClient.OnUploadStringCompleted(System.Net.UploadStringCompletedEventArgs)">
322 <summary>Raises the <see cref="E:System.Net.WebClient.UploadStringCompleted"></see> event.</summary>
323 <param name="e">An <see cref="T:System.Net.UploadStringCompletedEventArgs"></see> object containing event data.</param>
325 <member name="M:System.Net.WebClient.OnUploadValuesCompleted(System.Net.UploadValuesCompletedEventArgs)">
326 <summary>Raises the <see cref="E:System.Net.WebClient.UploadValuesCompleted"></see> event.</summary>
327 <param name="e">A <see cref="T:System.Net.UploadValuesCompletedEventArgs"></see> object containing event data.</param>
329 <member name="M:System.Net.WebClient.OnWriteStreamClosed(System.Net.WriteStreamClosedEventArgs)">
330 <summary>Raises the <see cref="E:System.Net.WebClient.WriteStreamClosed"></see> event.</summary>
331 <param name="e">A <see cref="T:System.Net.WriteStreamClosedEventArgs"></see> object containing event data.</param>
333 <member name="M:System.Net.WebClient.OpenRead(System.String)">
334 <summary>Opens a readable stream for the data downloaded from a resource with the URI specified as a <see cref="T:System.String"></see>.</summary>
335 <param name="address">The URI specified as a <see cref="T:System.String"></see> from which to download data.</param>
336 <returns>A <see cref="T:System.IO.Stream"></see> used to read data from a resource.</returns>
337 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
338 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, <paramref name="address">address</paramref> is invalid.
340 An error occurred while downloading data.</exception>
342 <member name="M:System.Net.WebClient.OpenRead(System.Uri)">
343 <summary>Opens a readable stream for the data downloaded from a resource with the URI specified as a <see cref="T:System.Uri"></see></summary>
344 <param name="address">The URI specified as a <see cref="T:System.Uri"></see> from which to download data.</param>
345 <returns>A <see cref="T:System.IO.Stream"></see> used to read data from a resource.</returns>
346 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
347 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, <paramref name="address">address</paramref> is invalid.
349 An error occurred while downloading data.</exception>
351 <member name="M:System.Net.WebClient.OpenReadAsync(System.Uri)">
352 <summary>Opens a readable stream containing the specified resource. This method does not block the calling thread.</summary>
353 <param name="address">The URI of the resource to retrieve.</param>
354 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
355 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and address is invalid.
357 An error occurred while downloading the resource.
359 An error occurred while opening the stream.</exception>
361 <member name="M:System.Net.WebClient.OpenReadAsync(System.Uri,System.Object)">
362 <summary>Opens a readable stream containing the specified resource. This method does not block the calling thread.</summary>
363 <param name="address">The URI of the resource to retrieve.</param>
364 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
365 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
366 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and address is invalid.
368 An error occurred while downloading the resource.
370 An error occurred while opening the stream.</exception>
372 <member name="E:System.Net.WebClient.OpenReadCompleted">
373 <summary>Occurs when an asynchronous operation to open a stream containing a resource completes.</summary>
375 <member name="M:System.Net.WebClient.OpenReadTaskAsync(System.String)">
376 <summary>Opens a readable stream containing the specified resource as an asynchronous operation using a task object.</summary>
377 <param name="address">The URI of the resource to retrieve.</param>
378 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
379 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.IO.Stream"></see> used to read data from a resource.</returns>
380 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
381 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and address is invalid.
383 An error occurred while downloading the resource.
385 An error occurred while opening the stream.</exception>
387 <member name="M:System.Net.WebClient.OpenReadTaskAsync(System.Uri)">
388 <summary>Opens a readable stream containing the specified resource as an asynchronous operation using a task object.</summary>
389 <param name="address">The URI of the resource to retrieve.</param>
390 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
391 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.IO.Stream"></see> used to read data from a resource.</returns>
392 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
393 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and address is invalid.
395 An error occurred while downloading the resource.
397 An error occurred while opening the stream.</exception>
399 <member name="M:System.Net.WebClient.OpenWrite(System.String)">
400 <summary>Opens a stream for writing data to the specified resource.</summary>
401 <param name="address">The URI of the resource to receive the data.</param>
402 <returns>A <see cref="T:System.IO.Stream"></see> used to write data to the resource.</returns>
403 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
404 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
406 An error occurred while opening the stream.</exception>
408 <member name="M:System.Net.WebClient.OpenWrite(System.Uri)">
409 <summary>Opens a stream for writing data to the specified resource.</summary>
410 <param name="address">The URI of the resource to receive the data.</param>
411 <returns>A <see cref="T:System.IO.Stream"></see> used to write data to the resource.</returns>
412 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
413 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
415 An error occurred while opening the stream.</exception>
417 <member name="M:System.Net.WebClient.OpenWrite(System.String,System.String)">
418 <summary>Opens a stream for writing data to the specified resource, using the specified method.</summary>
419 <param name="address">The URI of the resource to receive the data.</param>
420 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
421 <returns>A <see cref="T:System.IO.Stream"></see> used to write data to the resource.</returns>
422 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
423 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
425 An error occurred while opening the stream.</exception>
427 <member name="M:System.Net.WebClient.OpenWrite(System.Uri,System.String)">
428 <summary>Opens a stream for writing data to the specified resource, by using the specified method.</summary>
429 <param name="address">The URI of the resource to receive the data.</param>
430 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
431 <returns>A <see cref="T:System.IO.Stream"></see> used to write data to the resource.</returns>
432 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
433 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
435 An error occurred while opening the stream.</exception>
437 <member name="M:System.Net.WebClient.OpenWriteAsync(System.Uri,System.String,System.Object)">
438 <summary>Opens a stream for writing data to the specified resource, using the specified method. This method does not block the calling thread.</summary>
439 <param name="address">The URI of the resource to receive the data.</param>
440 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
441 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes</param>
442 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
443 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
445 An error occurred while opening the stream.</exception>
447 <member name="M:System.Net.WebClient.OpenWriteAsync(System.Uri,System.String)">
448 <summary>Opens a stream for writing data to the specified resource. This method does not block the calling thread.</summary>
449 <param name="address">The URI of the resource to receive the data.</param>
450 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
451 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
453 <member name="M:System.Net.WebClient.OpenWriteAsync(System.Uri)">
454 <summary>Opens a stream for writing data to the specified resource. This method does not block the calling thread.</summary>
455 <param name="address">The URI of the resource to receive the data.</param>
456 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
458 <member name="E:System.Net.WebClient.OpenWriteCompleted">
459 <summary>Occurs when an asynchronous operation to open a stream to write data to a resource completes.</summary>
461 <member name="M:System.Net.WebClient.OpenWriteTaskAsync(System.String)">
462 <summary>Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.</summary>
463 <param name="address">The URI of the resource to receive the data.</param>
464 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
465 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.IO.Stream"></see> used to write data to the resource.</returns>
466 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
467 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
469 An error occurred while opening the stream.</exception>
471 <member name="M:System.Net.WebClient.OpenWriteTaskAsync(System.Uri)">
472 <summary>Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.</summary>
473 <param name="address">The URI of the resource to receive the data.</param>
474 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
475 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.IO.Stream"></see> used to write data to the resource.</returns>
476 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
477 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
479 An error occurred while opening the stream.</exception>
481 <member name="M:System.Net.WebClient.OpenWriteTaskAsync(System.String,System.String)">
482 <summary>Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.</summary>
483 <param name="address">The URI of the resource to receive the data.</param>
484 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
485 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
486 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.IO.Stream"></see> used to write data to the resource.</returns>
487 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
488 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
490 An error occurred while opening the stream.</exception>
492 <member name="M:System.Net.WebClient.OpenWriteTaskAsync(System.Uri,System.String)">
493 <summary>Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.</summary>
494 <param name="address">The URI of the resource to receive the data.</param>
495 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
496 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
497 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.IO.Stream"></see> used to write data to the resource.</returns>
498 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
499 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
501 An error occurred while opening the stream.</exception>
503 <member name="P:System.Net.WebClient.Proxy">
504 <summary>Gets or sets the proxy used by this <see cref="T:System.Net.WebClient"></see> object.</summary>
505 <returns>An <see cref="T:System.Net.IWebProxy"></see> instance used to send requests.</returns>
506 <exception cref="T:System.ArgumentNullException"><see cref="System.Net.WebClient.Proxy"></see> is set to <see langword="null"></see>.</exception>
508 <member name="P:System.Net.WebClient.QueryString">
509 <summary>Gets or sets a collection of query name/value pairs associated with the request.</summary>
510 <returns>A <see cref="T:System.Collections.Specialized.NameValueCollection"></see> that contains query name/value pairs associated with the request. If no pairs are associated with the request, the value is an empty <see cref="T:System.Collections.Specialized.NameValueCollection"></see>.</returns>
512 <member name="P:System.Net.WebClient.ResponseHeaders">
513 <summary>Gets a collection of header name/value pairs associated with the response.</summary>
514 <returns>A <see cref="T:System.Net.WebHeaderCollection"></see> containing header name/value pairs associated with the response, or <see langword="null"></see> if no response has been received.</returns>
516 <member name="M:System.Net.WebClient.UploadData(System.String,System.Byte[])">
517 <summary>Uploads a data buffer to a resource identified by a URI.</summary>
518 <param name="address">The URI of the resource to receive the data.</param>
519 <param name="data">The data buffer to send to the resource.</param>
520 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
521 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
522 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
524 <paramref name="data">data</paramref> is <see langword="null"></see>.
526 An error occurred while sending the data.
528 There was no response from the server hosting the resource.</exception>
530 <member name="M:System.Net.WebClient.UploadData(System.Uri,System.Byte[])">
531 <summary>Uploads a data buffer to a resource identified by a URI.</summary>
532 <param name="address">The URI of the resource to receive the data.</param>
533 <param name="data">The data buffer to send to the resource.</param>
534 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
535 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
536 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
538 <paramref name="data">data</paramref> is <see langword="null"></see>.
540 An error occurred while sending the data.
542 There was no response from the server hosting the resource.</exception>
544 <member name="M:System.Net.WebClient.UploadData(System.String,System.String,System.Byte[])">
545 <summary>Uploads a data buffer to the specified resource, using the specified method.</summary>
546 <param name="address">The URI of the resource to receive the data.</param>
547 <param name="method">The HTTP method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
548 <param name="data">The data buffer to send to the resource.</param>
549 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
550 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
551 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
553 <paramref name="data">data</paramref> is <see langword="null"></see>.
555 An error occurred while uploading the data.
557 There was no response from the server hosting the resource.</exception>
559 <member name="M:System.Net.WebClient.UploadData(System.Uri,System.String,System.Byte[])">
560 <summary>Uploads a data buffer to the specified resource, using the specified method.</summary>
561 <param name="address">The URI of the resource to receive the data.</param>
562 <param name="method">The HTTP method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
563 <param name="data">The data buffer to send to the resource.</param>
564 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
565 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
566 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
568 <paramref name="data">data</paramref> is <see langword="null"></see>.
570 An error occurred while uploading the data.
572 There was no response from the server hosting the resource.</exception>
574 <member name="M:System.Net.WebClient.UploadDataAsync(System.Uri,System.String,System.Byte[])">
575 <summary>Uploads a data buffer to a resource identified by a URI, using the specified method. This method does not block the calling thread.</summary>
576 <param name="address">The URI of the resource to receive the data.</param>
577 <param name="method">The method used to send the data to the resource. If <see langword="null"></see>, the default is POST for http and STOR for ftp.</param>
578 <param name="data">The data buffer to send to the resource.</param>
579 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
580 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
582 An error occurred while opening the stream.
584 There was no response from the server hosting the resource.</exception>
586 <member name="M:System.Net.WebClient.UploadDataAsync(System.Uri,System.String,System.Byte[],System.Object)">
587 <summary>Uploads a data buffer to a resource identified by a URI, using the specified method and identifying token.</summary>
588 <param name="address">The URI of the resource to receive the data.</param>
589 <param name="method">The method used to send the data to the resource. If <see langword="null"></see>, the default is POST for http and STOR for ftp.</param>
590 <param name="data">The data buffer to send to the resource.</param>
591 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
592 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
593 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
595 An error occurred while opening the stream.
597 There was no response from the server hosting the resource.</exception>
599 <member name="M:System.Net.WebClient.UploadDataAsync(System.Uri,System.Byte[])">
600 <summary>Uploads a data buffer to a resource identified by a URI, using the POST method. This method does not block the calling thread.</summary>
601 <param name="address">The URI of the resource to receive the data.</param>
602 <param name="data">The data buffer to send to the resource.</param>
603 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
604 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
606 An error occurred while opening the stream.
608 There was no response from the server hosting the resource.</exception>
610 <member name="E:System.Net.WebClient.UploadDataCompleted">
611 <summary>Occurs when an asynchronous data-upload operation completes.</summary>
613 <member name="M:System.Net.WebClient.UploadDataTaskAsync(System.String,System.Byte[])">
614 <summary>Uploads a data buffer that contains a <see cref="T:System.Byte"></see> array to the URI specified as an asynchronous operation using a task object.</summary>
615 <param name="address">The URI of the resource to receive the data.</param>
616 <param name="data">The data buffer to send to the resource.</param>
617 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
618 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the body of the response received from the resource when the data buffer was uploaded.</returns>
619 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
620 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
622 An error occurred while opening the stream.
624 There was no response from the server hosting the resource.</exception>
626 <member name="M:System.Net.WebClient.UploadDataTaskAsync(System.Uri,System.Byte[])">
627 <summary>Uploads a data buffer that contains a <see cref="T:System.Byte"></see> array to the URI specified as an asynchronous operation using a task object.</summary>
628 <param name="address">The URI of the resource to receive the data.</param>
629 <param name="data">The data buffer to send to the resource.</param>
630 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
631 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the body of the response received from the resource when the data buffer was uploaded.</returns>
632 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
633 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
635 An error occurred while opening the stream.
637 There was no response from the server hosting the resource.</exception>
639 <member name="M:System.Net.WebClient.UploadDataTaskAsync(System.String,System.String,System.Byte[])">
640 <summary>Uploads a data buffer that contains a <see cref="T:System.Byte"></see> array to the URI specified as an asynchronous operation using a task object.</summary>
641 <param name="address">The URI of the resource to receive the data.</param>
642 <param name="method">The method used to send the data to the resource. If <see langword="null"></see>, the default is POST for http and STOR for ftp.</param>
643 <param name="data">The data buffer to send to the resource.</param>
644 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
645 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the body of the response received from the resource when the data buffer was uploaded.</returns>
646 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
647 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
649 An error occurred while opening the stream.
651 There was no response from the server hosting the resource.</exception>
653 <member name="M:System.Net.WebClient.UploadDataTaskAsync(System.Uri,System.String,System.Byte[])">
654 <summary>Uploads a data buffer that contains a <see cref="T:System.Byte"></see> array to the URI specified as an asynchronous operation using a task object.</summary>
655 <param name="address">The URI of the resource to receive the data.</param>
656 <param name="method">The method used to send the data to the resource. If <see langword="null"></see>, the default is POST for http and STOR for ftp.</param>
657 <param name="data">The data buffer to send to the resource.</param>
658 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
659 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the body of the response received from the resource when the data buffer was uploaded.</returns>
660 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.</exception>
661 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
663 An error occurred while opening the stream.
665 There was no response from the server hosting the resource.</exception>
667 <member name="M:System.Net.WebClient.UploadFile(System.String,System.String)">
668 <summary>Uploads the specified local file to a resource with the specified URI.</summary>
669 <param name="address">The URI of the resource to receive the file. For example, ftp://localhost/samplefile.txt.</param>
670 <param name="fileName">The file to send to the resource. For example, &quot;samplefile.txt&quot;.</param>
671 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
672 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
674 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
675 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
677 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid characters, or does not exist.
679 An error occurred while uploading the file.
681 There was no response from the server hosting the resource.
683 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
685 <member name="M:System.Net.WebClient.UploadFile(System.Uri,System.String)">
686 <summary>Uploads the specified local file to a resource with the specified URI.</summary>
687 <param name="address">The URI of the resource to receive the file. For example, ftp://localhost/samplefile.txt.</param>
688 <param name="fileName">The file to send to the resource. For example, &quot;samplefile.txt&quot;.</param>
689 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
690 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
692 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
693 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
695 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid characters, or does not exist.
697 An error occurred while uploading the file.
699 There was no response from the server hosting the resource.
701 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
703 <member name="M:System.Net.WebClient.UploadFile(System.String,System.String,System.String)">
704 <summary>Uploads the specified local file to the specified resource, using the specified method.</summary>
705 <param name="address">The URI of the resource to receive the file.</param>
706 <param name="method">The method used to send the file to the resource. If <see langword="null"></see>, the default is POST for http and STOR for ftp.</param>
707 <param name="fileName">The file to send to the resource.</param>
708 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
709 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
711 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
712 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
714 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid characters, or does not exist.
716 An error occurred while uploading the file.
718 There was no response from the server hosting the resource.
720 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
722 <member name="M:System.Net.WebClient.UploadFile(System.Uri,System.String,System.String)">
723 <summary>Uploads the specified local file to the specified resource, using the specified method.</summary>
724 <param name="address">The URI of the resource to receive the file.</param>
725 <param name="method">The method used to send the file to the resource. If <see langword="null"></see>, the default is POST for http and STOR for ftp.</param>
726 <param name="fileName">The file to send to the resource.</param>
727 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
728 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
730 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
731 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
733 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid characters, or does not exist.
735 An error occurred while uploading the file.
737 There was no response from the server hosting the resource.
739 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
741 <member name="M:System.Net.WebClient.UploadFileAsync(System.Uri,System.String)">
742 <summary>Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.</summary>
743 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
744 <param name="fileName">The file to send to the resource.</param>
745 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
747 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
748 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
750 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
752 An error occurred while opening the stream.
754 There was no response from the server hosting the resource.
756 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
758 <member name="M:System.Net.WebClient.UploadFileAsync(System.Uri,System.String,System.String)">
759 <summary>Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.</summary>
760 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
761 <param name="method">The method used to send the data to the resource. If <see langword="null"></see>, the default is POST for http and STOR for ftp.</param>
762 <param name="fileName">The file to send to the resource.</param>
763 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
765 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
766 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
768 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
770 An error occurred while opening the stream.
772 There was no response from the server hosting the resource.
774 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
776 <member name="M:System.Net.WebClient.UploadFileAsync(System.Uri,System.String,System.String,System.Object)">
777 <summary>Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.</summary>
778 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
779 <param name="method">The method used to send the data to the resource. If <see langword="null"></see>, the default is POST for http and STOR for ftp.</param>
780 <param name="fileName">The file to send to the resource.</param>
781 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
782 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
784 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
785 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
787 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
789 An error occurred while opening the stream.
791 There was no response from the server hosting the resource.
793 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
795 <member name="E:System.Net.WebClient.UploadFileCompleted">
796 <summary>Occurs when an asynchronous file-upload operation completes.</summary>
798 <member name="M:System.Net.WebClient.UploadFileTaskAsync(System.Uri,System.String,System.String)">
799 <summary>Uploads the specified local file to a resource as an asynchronous operation using a task object.</summary>
800 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
801 <param name="method">The method used to send the data to the resource. If <see langword="null"></see>, the default is POST for http and STOR for ftp.</param>
802 <param name="fileName">The local file to send to the resource.</param>
803 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
804 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the body of the response received from the resource when the file was uploaded.</returns>
805 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
807 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
808 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
810 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
812 An error occurred while opening the stream.
814 There was no response from the server hosting the resource.
816 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
818 <member name="M:System.Net.WebClient.UploadFileTaskAsync(System.String,System.String,System.String)">
819 <summary>Uploads the specified local file to a resource as an asynchronous operation using a task object.</summary>
820 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
821 <param name="method">The method used to send the data to the resource. If <see langword="null"></see>, the default is POST for http and STOR for ftp.</param>
822 <param name="fileName">The local file to send to the resource.</param>
823 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
824 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the body of the response received from the resource when the file was uploaded.</returns>
825 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
827 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
828 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
830 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
832 An error occurred while opening the stream.
834 There was no response from the server hosting the resource.
836 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
838 <member name="M:System.Net.WebClient.UploadFileTaskAsync(System.String,System.String)">
839 <summary>Uploads the specified local file to a resource as an asynchronous operation using a task object.</summary>
840 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
841 <param name="fileName">The local file to send to the resource.</param>
842 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
843 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the body of the response received from the resource when the file was uploaded.</returns>
844 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
846 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
847 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
849 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
851 An error occurred while opening the stream.
853 There was no response from the server hosting the resource.
855 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
857 <member name="M:System.Net.WebClient.UploadFileTaskAsync(System.Uri,System.String)">
858 <summary>Uploads the specified local file to a resource as an asynchronous operation using a task object.</summary>
859 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
860 <param name="fileName">The local file to send to the resource.</param>
861 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
862 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the body of the response received from the resource when the file was uploaded.</returns>
863 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
865 The <paramref name="fileName">fileName</paramref> parameter is <see langword="null"></see>.</exception>
866 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
868 <paramref name="fileName">fileName</paramref> is <see langword="null"></see>, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
870 An error occurred while opening the stream.
872 There was no response from the server hosting the resource.
874 The <see langword="Content-type"></see> header begins with <see langword="multipart"></see>.</exception>
876 <member name="E:System.Net.WebClient.UploadProgressChanged">
877 <summary>Occurs when an asynchronous upload operation successfully transfers some or all of the data.</summary>
879 <member name="M:System.Net.WebClient.UploadString(System.String,System.String)">
880 <summary>Uploads the specified string to the specified resource, using the POST method.</summary>
881 <param name="address">The URI of the resource to receive the string. For Http resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
882 <param name="data">The string to be uploaded.</param>
883 <returns>A <see cref="T:System.String"></see> containing the response sent by the server.</returns>
884 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
886 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
887 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
889 There was no response from the server hosting the resource.</exception>
891 <member name="M:System.Net.WebClient.UploadString(System.Uri,System.String)">
892 <summary>Uploads the specified string to the specified resource, using the POST method.</summary>
893 <param name="address">The URI of the resource to receive the string. For Http resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
894 <param name="data">The string to be uploaded.</param>
895 <returns>A <see cref="T:System.String"></see> containing the response sent by the server.</returns>
896 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
898 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
899 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
901 There was no response from the server hosting the resource.</exception>
903 <member name="M:System.Net.WebClient.UploadString(System.String,System.String,System.String)">
904 <summary>Uploads the specified string to the specified resource, using the specified method.</summary>
905 <param name="address">The URI of the resource to receive the string. This URI must identify a resource that can accept a request sent with the method method.</param>
906 <param name="method">The HTTP method used to send the string to the resource. If null, the default is POST for http and STOR for ftp.</param>
907 <param name="data">The string to be uploaded.</param>
908 <returns>A <see cref="T:System.String"></see> containing the response sent by the server.</returns>
909 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
911 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
912 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
914 There was no response from the server hosting the resource.
916 <paramref name="method">method</paramref> cannot be used to send content.</exception>
918 <member name="M:System.Net.WebClient.UploadString(System.Uri,System.String,System.String)">
919 <summary>Uploads the specified string to the specified resource, using the specified method.</summary>
920 <param name="address">The URI of the resource to receive the string. This URI must identify a resource that can accept a request sent with the method method.</param>
921 <param name="method">The HTTP method used to send the string to the resource. If null, the default is POST for http and STOR for ftp.</param>
922 <param name="data">The string to be uploaded.</param>
923 <returns>A <see cref="T:System.String"></see> containing the response sent by the server.</returns>
924 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
926 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
927 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
929 There was no response from the server hosting the resource.
931 <paramref name="method">method</paramref> cannot be used to send content.</exception>
933 <member name="M:System.Net.WebClient.UploadStringAsync(System.Uri,System.String)">
934 <summary>Uploads the specified string to the specified resource. This method does not block the calling thread.</summary>
935 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
936 <param name="data">The string to be uploaded.</param>
937 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
939 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
940 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
942 There was no response from the server hosting the resource.</exception>
944 <member name="M:System.Net.WebClient.UploadStringAsync(System.Uri,System.String,System.String)">
945 <summary>Uploads the specified string to the specified resource. This method does not block the calling thread.</summary>
946 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
947 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
948 <param name="data">The string to be uploaded.</param>
949 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
951 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
952 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
954 <paramref name="method">method</paramref> cannot be used to send content.
956 There was no response from the server hosting the resource.</exception>
958 <member name="M:System.Net.WebClient.UploadStringAsync(System.Uri,System.String,System.String,System.Object)">
959 <summary>Uploads the specified string to the specified resource. This method does not block the calling thread.</summary>
960 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
961 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
962 <param name="data">The string to be uploaded.</param>
963 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
964 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
966 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
967 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
969 <paramref name="method">method</paramref> cannot be used to send content.
971 There was no response from the server hosting the resource.</exception>
973 <member name="E:System.Net.WebClient.UploadStringCompleted">
974 <summary>Occurs when an asynchronous string-upload operation completes.</summary>
976 <member name="M:System.Net.WebClient.UploadStringTaskAsync(System.Uri,System.String,System.String)">
977 <summary>Uploads the specified string to the specified resource as an asynchronous operation using a task object.</summary>
978 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
979 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
980 <param name="data">The string to be uploaded.</param>
981 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
982 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.String"></see> containing the response sent by the server.</returns>
983 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
985 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
986 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
988 <paramref name="method">method</paramref> cannot be used to send content.
990 There was no response from the server hosting the resource.</exception>
992 <member name="M:System.Net.WebClient.UploadStringTaskAsync(System.String,System.String,System.String)">
993 <summary>Uploads the specified string to the specified resource as an asynchronous operation using a task object.</summary>
994 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
995 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
996 <param name="data">The string to be uploaded.</param>
997 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
998 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.String"></see> containing the response sent by the server.</returns>
999 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1001 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1002 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1004 <paramref name="method">method</paramref> cannot be used to send content.
1006 There was no response from the server hosting the resource.</exception>
1008 <member name="M:System.Net.WebClient.UploadStringTaskAsync(System.String,System.String)">
1009 <summary>Uploads the specified string to the specified resource as an asynchronous operation using a task object.</summary>
1010 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1011 <param name="data">The string to be uploaded.</param>
1012 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
1013 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.String"></see> containing the response sent by the server.</returns>
1014 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1016 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1017 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1019 There was no response from the server hosting the resource.</exception>
1021 <member name="M:System.Net.WebClient.UploadStringTaskAsync(System.Uri,System.String)">
1022 <summary>Uploads the specified string to the specified resource as an asynchronous operation using a task object.</summary>
1023 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1024 <param name="data">The string to be uploaded.</param>
1025 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
1026 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.String"></see> containing the response sent by the server.</returns>
1027 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1029 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1030 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1032 There was no response from the server hosting the resource.</exception>
1034 <member name="M:System.Net.WebClient.UploadValues(System.String,System.Collections.Specialized.NameValueCollection)">
1035 <summary>Uploads the specified name/value collection to the resource identified by the specified URI.</summary>
1036 <param name="address">The URI of the resource to receive the collection.</param>
1037 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1038 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
1039 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1041 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1042 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1044 <paramref name="data">data</paramref> is <see langword="null"></see>.
1046 There was no response from the server hosting the resource.
1048 An error occurred while opening the stream.
1050 The <see langword="Content-type"></see> header is not <see langword="null"></see> or &quot;application/x-www-form-urlencoded&quot;.</exception>
1052 <member name="M:System.Net.WebClient.UploadValues(System.Uri,System.Collections.Specialized.NameValueCollection)">
1053 <summary>Uploads the specified name/value collection to the resource identified by the specified URI.</summary>
1054 <param name="address">The URI of the resource to receive the collection.</param>
1055 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1056 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
1057 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1059 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1060 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1062 <paramref name="data">data</paramref> is <see langword="null"></see>.
1064 There was no response from the server hosting the resource.
1066 An error occurred while opening the stream.
1068 The <see langword="Content-type"></see> header is not <see langword="null"></see> or &quot;application/x-www-form-urlencoded&quot;.</exception>
1070 <member name="M:System.Net.WebClient.UploadValues(System.String,System.String,System.Collections.Specialized.NameValueCollection)">
1071 <summary>Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.</summary>
1072 <param name="address">The URI of the resource to receive the collection.</param>
1073 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
1074 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1075 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
1076 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1078 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1079 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1081 <paramref name="data">data</paramref> is <see langword="null"></see>.
1083 An error occurred while opening the stream.
1085 There was no response from the server hosting the resource.
1087 The <see langword="Content-type"></see> header value is not <see langword="null"></see> and is not <see langword="application/x-www-form-urlencoded"></see>.</exception>
1089 <member name="M:System.Net.WebClient.UploadValues(System.Uri,System.String,System.Collections.Specialized.NameValueCollection)">
1090 <summary>Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.</summary>
1091 <param name="address">The URI of the resource to receive the collection.</param>
1092 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
1093 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1094 <returns>A <see cref="T:System.Byte"></see> array containing the body of the response from the resource.</returns>
1095 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1097 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1098 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1100 <paramref name="data">data</paramref> is <see langword="null"></see>.
1102 An error occurred while opening the stream.
1104 There was no response from the server hosting the resource.
1106 The <see langword="Content-type"></see> header value is not <see langword="null"></see> and is not <see langword="application/x-www-form-urlencoded"></see>.</exception>
1108 <member name="M:System.Net.WebClient.UploadValuesAsync(System.Uri,System.Collections.Specialized.NameValueCollection)">
1109 <summary>Uploads the data in the specified name/value collection to the resource identified by the specified URI. This method does not block the calling thread.</summary>
1110 <param name="address">The URI of the resource to receive the collection. This URI must identify a resource that can accept a request sent with the default method.</param>
1111 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1112 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1114 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1115 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1117 There was no response from the server hosting the resource.</exception>
1119 <member name="M:System.Net.WebClient.UploadValuesAsync(System.Uri,System.String,System.Collections.Specialized.NameValueCollection)">
1120 <summary>Uploads the data in the specified name/value collection to the resource identified by the specified URI, using the specified method. This method does not block the calling thread.</summary>
1121 <param name="address">The URI of the resource to receive the collection. This URI must identify a resource that can accept a request sent with the method method.</param>
1122 <param name="method">The method used to send the string to the resource. If null, the default is POST for http and STOR for ftp.</param>
1123 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1124 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1126 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1127 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1129 There was no response from the server hosting the resource.
1131 <paramref name="method">method</paramref> cannot be used to send content.</exception>
1133 <member name="M:System.Net.WebClient.UploadValuesAsync(System.Uri,System.String,System.Collections.Specialized.NameValueCollection,System.Object)">
1134 <summary>Uploads the data in the specified name/value collection to the resource identified by the specified URI, using the specified method. This method does not block the calling thread, and allows the caller to pass an object to the method that is invoked when the operation completes.</summary>
1135 <param name="address">The URI of the resource to receive the collection. This URI must identify a resource that can accept a request sent with the method method.</param>
1136 <param name="method">The HTTP method used to send the string to the resource. If null, the default is POST for http and STOR for ftp.</param>
1137 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1138 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
1139 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1141 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1142 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1144 There was no response from the server hosting the resource.
1146 <paramref name="method">method</paramref> cannot be used to send content.</exception>
1148 <member name="E:System.Net.WebClient.UploadValuesCompleted">
1149 <summary>Occurs when an asynchronous upload of a name/value collection completes.</summary>
1151 <member name="M:System.Net.WebClient.UploadValuesTaskAsync(System.String,System.String,System.Collections.Specialized.NameValueCollection)">
1152 <summary>Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.</summary>
1153 <param name="address">The URI of the resource to receive the collection.</param>
1154 <param name="method">The HTTP method used to send the collection to the resource. If null, the default is POST for http and STOR for ftp.</param>
1155 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1156 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
1157 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the response sent by the server.</returns>
1158 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1160 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1161 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1163 <paramref name="method">method</paramref> cannot be used to send content.
1165 There was no response from the server hosting the resource.
1167 An error occurred while opening the stream.
1169 The <see langword="Content-type"></see> header is not <see langword="null"></see> or &quot;application/x-www-form-urlencoded&quot;.</exception>
1171 <member name="M:System.Net.WebClient.UploadValuesTaskAsync(System.String,System.Collections.Specialized.NameValueCollection)">
1172 <summary>Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.</summary>
1173 <param name="address">The URI of the resource to receive the collection.</param>
1174 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1175 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
1176 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the response sent by the server.</returns>
1177 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1179 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1180 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1182 There was no response from the server hosting the resource.
1184 An error occurred while opening the stream.
1186 The <see langword="Content-type"></see> header is not <see langword="null"></see> or &quot;application/x-www-form-urlencoded&quot;.</exception>
1188 <member name="M:System.Net.WebClient.UploadValuesTaskAsync(System.Uri,System.Collections.Specialized.NameValueCollection)">
1189 <summary>Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.</summary>
1190 <param name="address">The URI of the resource to receive the collection.</param>
1191 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1192 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
1193 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the response sent by the server.</returns>
1194 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1196 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1197 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1199 An error occurred while opening the stream.
1201 There was no response from the server hosting the resource.
1203 The <see langword="Content-type"></see> header value is not <see langword="null"></see> and is not <see langword="application/x-www-form-urlencoded"></see>.</exception>
1205 <member name="M:System.Net.WebClient.UploadValuesTaskAsync(System.Uri,System.String,System.Collections.Specialized.NameValueCollection)">
1206 <summary>Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.</summary>
1207 <param name="address">The URI of the resource to receive the collection.</param>
1208 <param name="method">The HTTP method used to send the collection to the resource. If null, the default is POST for http and STOR for ftp.</param>
1209 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1210 <returns>Returns <see cref="T:System.Threading.Tasks.Task`1"></see>.
1211 The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="T:System.Byte"></see> array containing the response sent by the server.</returns>
1212 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is <see langword="null"></see>.
1214 The <paramref name="data">data</paramref> parameter is <see langword="null"></see>.</exception>
1215 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1217 <paramref name="method">method</paramref> cannot be used to send content.
1219 There was no response from the server hosting the resource.
1221 An error occurred while opening the stream.
1223 The <see langword="Content-type"></see> header is not <see langword="null"></see> or &quot;application/x-www-form-urlencoded&quot;.</exception>
1225 <member name="P:System.Net.WebClient.UseDefaultCredentials">
1226 <summary>Gets or sets a <see cref="T:System.Boolean"></see> value that controls whether the <see cref="P:System.Net.CredentialCache.DefaultCredentials"></see> are sent with requests.</summary>
1227 <returns><see langword="true"></see> if the default credentials are used; otherwise <see langword="false"></see>. The default value is <see langword="false"></see>.</returns>
1229 <member name="E:System.Net.WebClient.WriteStreamClosed">
1230 <summary>Occurs when an asynchronous operation to write data to a resource using a write stream is closed.</summary>
1232 <member name="T:System.Net.UploadValuesCompletedEventHandler">
1233 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.UploadValuesCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1234 <param name="sender">The source of the event.</param>
1235 <param name="e">A <see cref="T:System.Net.UploadValuesCompletedEventArgs"></see> that contains event data.</param>
1237 <member name="T:System.Net.UploadValuesCompletedEventArgs">
1238 <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadValuesCompleted"></see> event.</summary>
1240 <member name="P:System.Net.UploadValuesCompletedEventArgs.Result">
1241 <summary>Gets the server reply to a data upload operation started by calling an <see cref="Overload:System.Net.WebClient.UploadValuesAsync"></see> method.</summary>
1242 <returns>A <see cref="T:System.Byte"></see> array containing the server reply.</returns>
1244 <member name="T:System.Net.UploadStringCompletedEventHandler">
1245 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.UploadStringCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1246 <param name="sender">The source of the event.</param>
1247 <param name="e">A <see cref="T:System.Net.UploadStringCompletedEventArgs"></see> containing event data.</param>
1249 <member name="T:System.Net.UploadStringCompletedEventArgs">
1250 <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadStringCompleted"></see> event.</summary>
1252 <member name="P:System.Net.UploadStringCompletedEventArgs.Result">
1253 <summary>Gets the server reply to a string upload operation that is started by calling an <see cref="Overload:System.Net.WebClient.UploadStringAsync"></see> method.</summary>
1254 <returns>A <see cref="T:System.Byte"></see> array that contains the server reply.</returns>
1256 <member name="T:System.Net.UploadProgressChangedEventHandler">
1257 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.UploadProgressChanged"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1258 <param name="sender">The source of the event.</param>
1259 <param name="e">A <see cref="T:System.Net.UploadProgressChangedEventArgs"></see> containing event data.</param>
1261 <member name="T:System.Net.UploadProgressChangedEventArgs">
1262 <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadProgressChanged"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1264 <member name="P:System.Net.UploadProgressChangedEventArgs.BytesReceived">
1265 <summary>Gets the number of bytes received.</summary>
1266 <returns>An <see cref="T:System.Int64"></see> value that indicates the number of bytes received.</returns>
1268 <member name="P:System.Net.UploadProgressChangedEventArgs.BytesSent">
1269 <summary>Gets the number of bytes sent.</summary>
1270 <returns>An <see cref="T:System.Int64"></see> value that indicates the number of bytes sent.</returns>
1272 <member name="P:System.Net.UploadProgressChangedEventArgs.TotalBytesToReceive">
1273 <summary>Gets the total number of bytes in a <see cref="T:System.Net.WebClient"></see> data upload operation.</summary>
1274 <returns>An <see cref="T:System.Int64"></see> value that indicates the number of bytes that will be received.</returns>
1276 <member name="P:System.Net.UploadProgressChangedEventArgs.TotalBytesToSend">
1277 <summary>Gets the total number of bytes to send.</summary>
1278 <returns>An <see cref="T:System.Int64"></see> value that indicates the number of bytes that will be sent.</returns>
1280 <member name="T:System.Net.UploadFileCompletedEventHandler">
1281 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.UploadFileCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1282 <param name="sender">The source of the event.</param>
1283 <param name="e">A <see cref="T:System.Net.UploadFileCompletedEventArgs"></see> that contains event data.</param>
1285 <member name="T:System.Net.UploadFileCompletedEventArgs">
1286 <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadFileCompleted"></see> event.</summary>
1288 <member name="P:System.Net.UploadFileCompletedEventArgs.Result">
1289 <summary>Gets the server reply to a data upload operation that is started by calling an <see cref="Overload:System.Net.WebClient.UploadFileAsync"></see> method.</summary>
1290 <returns>A <see cref="T:System.Byte"></see> array that contains the server reply.</returns>
1292 <member name="T:System.Net.UploadDataCompletedEventHandler">
1293 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.UploadDataCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1294 <param name="sender">The source of the event.</param>
1295 <param name="e">A <see cref="T:System.Net.UploadDataCompletedEventArgs"></see> containing event data.</param>
1297 <member name="T:System.Net.UploadDataCompletedEventArgs">
1298 <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadDataCompleted"></see> event.</summary>
1300 <member name="P:System.Net.UploadDataCompletedEventArgs.Result">
1301 <summary>Gets the server reply to a data upload operation started by calling an <see cref="Overload:System.Net.WebClient.UploadDataAsync"></see> method.</summary>
1302 <returns>A <see cref="T:System.Byte"></see> array containing the server reply.</returns>
1304 <member name="T:System.Net.DownloadStringCompletedEventHandler">
1305 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.DownloadStringCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1306 <param name="sender">The source of the event.</param>
1307 <param name="e">A <see cref="T:System.Net.DownloadStringCompletedEventArgs"></see> that contains event data.</param>
1309 <member name="T:System.Net.DownloadStringCompletedEventArgs">
1310 <summary>Provides data for the <see cref="E:System.Net.WebClient.DownloadStringCompleted"></see> event.</summary>
1312 <member name="P:System.Net.DownloadStringCompletedEventArgs.Result">
1313 <summary>Gets the data that is downloaded by a <see cref="Overload:System.Net.WebClient.DownloadStringAsync"></see> method.</summary>
1314 <returns>A <see cref="T:System.String"></see> that contains the downloaded data.</returns>
1316 <member name="T:System.Net.DownloadProgressChangedEventHandler">
1317 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.DownloadProgressChanged"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1318 <param name="sender">The source of the event.</param>
1319 <param name="e">A <see cref="T:System.Net.DownloadProgressChangedEventArgs"></see> containing event data.</param>
1321 <member name="T:System.Net.DownloadProgressChangedEventArgs">
1322 <summary>Provides data for the <see cref="E:System.Net.WebClient.DownloadProgressChanged"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1324 <member name="P:System.Net.DownloadProgressChangedEventArgs.BytesReceived">
1325 <summary>Gets the number of bytes received.</summary>
1326 <returns>An <see cref="T:System.Int64"></see> value that indicates the number of bytes received.</returns>
1328 <member name="P:System.Net.DownloadProgressChangedEventArgs.TotalBytesToReceive">
1329 <summary>Gets the total number of bytes in a <see cref="T:System.Net.WebClient"></see> data download operation.</summary>
1330 <returns>An <see cref="T:System.Int64"></see> value that indicates the number of bytes that will be received.</returns>
1332 <member name="T:System.Net.DownloadDataCompletedEventHandler">
1333 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.DownloadDataCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1334 <param name="sender">The source of the event.</param>
1335 <param name="e">A <see cref="T:System.Net.DownloadDataCompletedEventArgs"></see> containing event data.</param>
1337 <member name="T:System.Net.DownloadDataCompletedEventArgs">
1338 <summary>Provides data for the <see cref="E:System.Net.WebClient.DownloadDataCompleted"></see> event.</summary>
1340 <member name="P:System.Net.DownloadDataCompletedEventArgs.Result">
1341 <summary>Gets the data that is downloaded by a <see cref="Overload:System.Net.WebClient.DownloadDataAsync"></see> method.</summary>
1342 <returns>A <see cref="T:System.Byte"></see> array that contains the downloaded data.</returns>
1344 <member name="T:System.Net.OpenWriteCompletedEventHandler">
1345 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.OpenWriteCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1346 <param name="sender">The source of the event.</param>
1347 <param name="e">A <see cref="T:System.Net.OpenWriteCompletedEventArgs"></see> containing event data.</param>
1349 <member name="T:System.Net.OpenWriteCompletedEventArgs">
1350 <summary>Provides data for the <see cref="E:System.Net.WebClient.OpenWriteCompleted"></see> event.</summary>
1352 <member name="P:System.Net.OpenWriteCompletedEventArgs.Result">
1353 <summary>Gets a writable stream that is used to send data to a server.</summary>
1354 <returns>A <see cref="T:System.IO.Stream"></see> where you can write data to be uploaded.</returns>
1356 <member name="T:System.Net.OpenReadCompletedEventHandler">
1357 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.OpenReadCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1358 <param name="sender">The source of the event.</param>
1359 <param name="e">A <see cref="T:System.Net.OpenReadCompletedEventArgs"></see> containing event data.</param>
1361 <member name="T:System.Net.OpenReadCompletedEventArgs">
1362 <summary>Provides data for the <see cref="E:System.Net.WebClient.OpenReadCompleted"></see> event.</summary>
1364 <member name="P:System.Net.OpenReadCompletedEventArgs.Result">
1365 <summary>Gets a readable stream that contains data downloaded by a <see cref="Overload:System.Net.WebClient.DownloadDataAsync"></see> method.</summary>
1366 <returns>A <see cref="T:System.IO.Stream"></see> that contains the downloaded data.</returns>