WebClient Class (System.Net) (original) (raw)
Cancels a pending asynchronous operation.
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Releases all resources used by the Component.
(Inherited from Component)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component)
Downloads the resource as a Byte array from the URI specified.
Downloads the resource as a Byte array from the URI specified.
DownloadDataAsync(Uri, Object)
Downloads the resource as a Byte array from the URI specified as an asynchronous operation.
Downloads the resource as a Byte array from the URI specified as an asynchronous operation.
Downloads the resource as a Byte array from the URI specified as an asynchronous operation using a task object.
Downloads the resource as a Byte array from the URI specified as an asynchronous operation using a task object.
Downloads the resource with the specified URI to a local file.
Downloads the resource with the specified URI to a local file.
DownloadFileAsync(Uri, String, Object)
Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.
DownloadFileAsync(Uri, String)
Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.
DownloadFileTaskAsync(String, String)
Downloads the specified resource to a local file as an asynchronous operation using a task object.
DownloadFileTaskAsync(Uri, String)
Downloads the specified resource to a local file as an asynchronous operation using a task object.
Downloads the requested resource as a String. The resource to download is specified as a String containing the URI.
Downloads the requested resource as a String. The resource to download is specified as a Uri.
DownloadStringAsync(Uri, Object)
Downloads the specified string to the specified resource. This method does not block the calling thread.
Downloads the resource specified as a Uri. This method does not block the calling thread.
DownloadStringTaskAsync(String)
Downloads the resource as a String from the URI specified as an asynchronous operation using a task object.
Downloads the resource as a String from the URI specified as an asynchronous operation using a task object.
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Serves as the default hash function.
(Inherited from Object)
Obsolete.
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
Gets the Type of the current instance.
(Inherited from Object)
Returns a WebRequest object for the specified resource.
GetWebResponse(WebRequest, IAsyncResult)
Returns the WebResponse for the specified WebRequest using the specified IAsyncResult.
Returns the WebResponse for the specified WebRequest.
Obsolete.
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Creates a shallow copy of the current Object.
(Inherited from Object)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
OnDownloadDataCompleted(DownloadDataCompletedEventArgs)
Raises the DownloadDataCompleted event.
OnDownloadFileCompleted(AsyncCompletedEventArgs)
Raises the DownloadFileCompleted event.
OnDownloadProgressChanged(DownloadProgressChangedEventArgs)
Raises the DownloadProgressChanged event.
OnDownloadStringCompleted(DownloadStringCompletedEventArgs)
Raises the DownloadStringCompleted event.
OnOpenReadCompleted(OpenReadCompletedEventArgs)
Raises the OpenReadCompleted event.
OnOpenWriteCompleted(OpenWriteCompletedEventArgs)
Raises the OpenWriteCompleted event.
OnUploadDataCompleted(UploadDataCompletedEventArgs)
Raises the UploadDataCompleted event.
OnUploadFileCompleted(UploadFileCompletedEventArgs)
Raises the UploadFileCompleted event.
OnUploadProgressChanged(UploadProgressChangedEventArgs)
Raises the UploadProgressChanged event.
OnUploadStringCompleted(UploadStringCompletedEventArgs)
Raises the UploadStringCompleted event.
OnUploadValuesCompleted(UploadValuesCompletedEventArgs)
Raises the UploadValuesCompleted event.
OnWriteStreamClosed(WriteStreamClosedEventArgs)
Obsolete.
Raises the WriteStreamClosed event.
Opens a readable stream for the data downloaded from a resource with the URI specified as a String.
Opens a readable stream for the data downloaded from a resource with the URI specified as a Uri.
Opens a readable stream containing the specified resource. This method does not block the calling thread.
Opens a readable stream containing the specified resource. This method does not block the calling thread.
Opens a readable stream containing the specified resource as an asynchronous operation using a task object.
Opens a readable stream containing the specified resource as an asynchronous operation using a task object.
Opens a stream for writing data to the specified resource, using the specified method.
Opens a stream for writing data to the specified resource.
Opens a stream for writing data to the specified resource, by using the specified method.
Opens a stream for writing data to the specified resource.
OpenWriteAsync(Uri, String, Object)
Opens a stream for writing data to the specified resource, using the specified method. This method does not block the calling thread.
Opens a stream for writing data to the specified resource. This method does not block the calling thread.
Opens a stream for writing data to the specified resource. This method does not block the calling thread.
OpenWriteTaskAsync(String, String)
Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.
Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.
OpenWriteTaskAsync(Uri, String)
Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.
Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component)
Uploads a data buffer to a resource identified by a URI.
UploadData(String, String, Byte[])
Uploads a data buffer to the specified resource, using the specified method.
Uploads a data buffer to a resource identified by a URI.
UploadData(Uri, String, Byte[])
Uploads a data buffer to the specified resource, using the specified method.
Uploads a data buffer to a resource identified by a URI, using the POST method. This method does not block the calling thread.
UploadDataAsync(Uri, String, Byte[], Object)
Uploads a data buffer to a resource identified by a URI, using the specified method and identifying token.
UploadDataAsync(Uri, String, Byte[])
Uploads a data buffer to a resource identified by a URI, using the specified method. This method does not block the calling thread.
UploadDataTaskAsync(String, Byte[])
Uploads a data buffer that contains a Byte array to the URI specified as an asynchronous operation using a task object.
UploadDataTaskAsync(String, String, Byte[])
Uploads a data buffer that contains a Byte array to the URI specified as an asynchronous operation using a task object.
UploadDataTaskAsync(Uri, Byte[])
Uploads a data buffer that contains a Byte array to the URI specified as an asynchronous operation using a task object.
UploadDataTaskAsync(Uri, String, Byte[])
Uploads a data buffer that contains a Byte array to the URI specified as an asynchronous operation using a task object.
UploadFile(String, String, String)
Uploads the specified local file to the specified resource, using the specified method.
Uploads the specified local file to a resource with the specified URI.
UploadFile(Uri, String, String)
Uploads the specified local file to the specified resource, using the specified method.
Uploads the specified local file to a resource with the specified URI.
UploadFileAsync(Uri, String, String, Object)
Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.
UploadFileAsync(Uri, String, String)
Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.
Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.
UploadFileTaskAsync(String, String, String)
Uploads the specified local file to a resource as an asynchronous operation using a task object.
UploadFileTaskAsync(String, String)
Uploads the specified local file to a resource as an asynchronous operation using a task object.
UploadFileTaskAsync(Uri, String, String)
Uploads the specified local file to a resource as an asynchronous operation using a task object.
UploadFileTaskAsync(Uri, String)
Uploads the specified local file to a resource as an asynchronous operation using a task object.
UploadString(String, String, String)
Uploads the specified string to the specified resource, using the specified method.
Uploads the specified string to the specified resource, using the POST method.
UploadString(Uri, String, String)
Uploads the specified string to the specified resource, using the specified method.
Uploads the specified string to the specified resource, using the POST method.
UploadStringAsync(Uri, String, String, Object)
Uploads the specified string to the specified resource. This method does not block the calling thread.
UploadStringAsync(Uri, String, String)
Uploads the specified string to the specified resource. This method does not block the calling thread.
UploadStringAsync(Uri, String)
Uploads the specified string to the specified resource. This method does not block the calling thread.
UploadStringTaskAsync(String, String, String)
Uploads the specified string to the specified resource as an asynchronous operation using a task object.
UploadStringTaskAsync(String, String)
Uploads the specified string to the specified resource as an asynchronous operation using a task object.
UploadStringTaskAsync(Uri, String, String)
Uploads the specified string to the specified resource as an asynchronous operation using a task object.
UploadStringTaskAsync(Uri, String)
Uploads the specified string to the specified resource as an asynchronous operation using a task object.
UploadValues(String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI.
UploadValues(String, String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.
UploadValues(Uri, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI.
UploadValues(Uri, String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.
UploadValuesAsync(Uri, NameValueCollection)
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.
UploadValuesAsync(Uri, String, NameValueCollection, Object)
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.
UploadValuesAsync(Uri, String, NameValueCollection)
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.
UploadValuesTaskAsync(String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.
UploadValuesTaskAsync(String, String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.
UploadValuesTaskAsync(Uri, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.
UploadValuesTaskAsync(Uri, String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.