WebClient Methods

WebClient Methods

 

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodCancelAsync()

Cancels a pending asynchronous operation.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by the Component.(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the Component and optionally releases the managed resources.(Inherited from Component.)

System_CAPS_pubmethodDownloadData(String)

Downloads the resource as a Byte array from the URI specified.

System_CAPS_pubmethodDownloadData(Uri)

Downloads the resource as a Byte array from the URI specified.

System_CAPS_pubmethodDownloadDataAsync(Uri)

Downloads the resource as a Byte array from the URI specified as an asynchronous operation.

System_CAPS_pubmethodDownloadDataAsync(Uri, Object)

Downloads the resource as a Byte array from the URI specified as an asynchronous operation.

System_CAPS_pubmethodDownloadDataTaskAsync(String)

Downloads the resource as a Byte array from the URI specified as an asynchronous operation using a task object.

System_CAPS_pubmethodDownloadDataTaskAsync(Uri)

Downloads the resource as a Byte array from the URI specified as an asynchronous operation using a task object.

System_CAPS_pubmethodDownloadFile(String, String)

Downloads the resource with the specified URI to a local file.

System_CAPS_pubmethodDownloadFile(Uri, String)

Downloads the resource with the specified URI to a local file.

System_CAPS_pubmethodDownloadFileAsync(Uri, String)

Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.

System_CAPS_pubmethodDownloadFileAsync(Uri, String, Object)

Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.

System_CAPS_pubmethodDownloadFileTaskAsync(String, String)

Downloads the specified resource to a local file as an asynchronous operation using a task object.

System_CAPS_pubmethodDownloadFileTaskAsync(Uri, String)

Downloads the specified resource to a local file as an asynchronous operation using a task object.

System_CAPS_pubmethodDownloadString(String)

Downloads the requested resource as a String. The resource to download is specified as a String containing the URI.

System_CAPS_pubmethodDownloadString(Uri)

Downloads the requested resource as a String. The resource to download is specified as a Uri.

System_CAPS_pubmethodDownloadStringAsync(Uri)

Downloads the resource specified as a Uri. This method does not block the calling thread.

System_CAPS_pubmethodDownloadStringAsync(Uri, Object)

Downloads the specified string to the specified resource. This method does not block the calling thread.

System_CAPS_pubmethodDownloadStringTaskAsync(String)

Downloads the resource as a String from the URI specified as an asynchronous operation using a task object.

System_CAPS_pubmethodDownloadStringTaskAsync(Uri)

Downloads the resource as a String from the URI specified as an asynchronous operation using a task object.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.(Inherited from Component.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetService(Type)

Returns an object that represents a service provided by the Component or by its Container.(Inherited from Component.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodGetWebRequest(Uri)

Returns a WebRequest object for the specified resource.

System_CAPS_protmethodGetWebResponse(WebRequest)

Returns the WebResponse for the specified WebRequest.

System_CAPS_protmethodGetWebResponse(WebRequest, IAsyncResult)

Returns the WebResponse for the specified WebRequest using the specified IAsyncResult.

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodOnDownloadDataCompleted(DownloadDataCompletedEventArgs)

Raises the DownloadDataCompleted event.

System_CAPS_protmethodOnDownloadFileCompleted(AsyncCompletedEventArgs)

Raises the DownloadFileCompleted event.

System_CAPS_protmethodOnDownloadProgressChanged(DownloadProgressChangedEventArgs)

Raises the DownloadProgressChanged event.

System_CAPS_protmethodOnDownloadStringCompleted(DownloadStringCompletedEventArgs)

Raises the DownloadStringCompleted event.

System_CAPS_protmethodOnOpenReadCompleted(OpenReadCompletedEventArgs)

Raises the OpenReadCompleted event.

System_CAPS_protmethodOnOpenWriteCompleted(OpenWriteCompletedEventArgs)

Raises the OpenWriteCompleted event.

System_CAPS_protmethodOnUploadDataCompleted(UploadDataCompletedEventArgs)

Raises the UploadDataCompleted event.

System_CAPS_protmethodOnUploadFileCompleted(UploadFileCompletedEventArgs)

Raises the UploadFileCompleted event.

System_CAPS_protmethodOnUploadProgressChanged(UploadProgressChangedEventArgs)

Raises the UploadProgressChanged event.

System_CAPS_protmethodOnUploadStringCompleted(UploadStringCompletedEventArgs)

Raises the UploadStringCompleted event.

System_CAPS_protmethodOnUploadValuesCompleted(UploadValuesCompletedEventArgs)

Raises the UploadValuesCompleted event.

System_CAPS_protmethodOnWriteStreamClosed(WriteStreamClosedEventArgs)

Obsolete.Raises the WriteStreamClosed event.

System_CAPS_pubmethodOpenRead(String)

Opens a readable stream for the data downloaded from a resource with the URI specified as a String.

System_CAPS_pubmethodOpenRead(Uri)

Opens a readable stream for the data downloaded from a resource with the URI specified as a Uri

System_CAPS_pubmethodOpenReadAsync(Uri)

Opens a readable stream containing the specified resource. This method does not block the calling thread.

System_CAPS_pubmethodOpenReadAsync(Uri, Object)

Opens a readable stream containing the specified resource. This method does not block the calling thread.

System_CAPS_pubmethodOpenReadTaskAsync(String)

Opens a readable stream containing the specified resource as an asynchronous operation using a task object.

System_CAPS_pubmethodOpenReadTaskAsync(Uri)

Opens a readable stream containing the specified resource as an asynchronous operation using a task object.

System_CAPS_pubmethodOpenWrite(String)

Opens a stream for writing data to the specified resource.

System_CAPS_pubmethodOpenWrite(String, String)

Opens a stream for writing data to the specified resource, using the specified method.

System_CAPS_pubmethodOpenWrite(Uri)

Opens a stream for writing data to the specified resource.

System_CAPS_pubmethodOpenWrite(Uri, String)

Opens a stream for writing data to the specified resource, by using the specified method.

System_CAPS_pubmethodOpenWriteAsync(Uri)

Opens a stream for writing data to the specified resource. This method does not block the calling thread.

System_CAPS_pubmethodOpenWriteAsync(Uri, String)

Opens a stream for writing data to the specified resource. This method does not block the calling thread.

System_CAPS_pubmethodOpenWriteAsync(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.

System_CAPS_pubmethodOpenWriteTaskAsync(String)

Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.

System_CAPS_pubmethodOpenWriteTaskAsync(String, String)

Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.

System_CAPS_pubmethodOpenWriteTaskAsync(Uri)

Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.

System_CAPS_pubmethodOpenWriteTaskAsync(Uri, String)

Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.

System_CAPS_pubmethodToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.(Inherited from Component.)

System_CAPS_pubmethodUploadData(String, Byte[])

Uploads a data buffer to a resource identified by a URI.

System_CAPS_pubmethodUploadData(String, String, Byte[])

Uploads a data buffer to the specified resource, using the specified method.

System_CAPS_pubmethodUploadData(Uri, Byte[])

Uploads a data buffer to a resource identified by a URI.

System_CAPS_pubmethodUploadData(Uri, String, Byte[])

Uploads a data buffer to the specified resource, using the specified method.

System_CAPS_pubmethodUploadDataAsync(Uri, Byte[])

Uploads a data buffer to a resource identified by a URI, using the POST method. This method does not block the calling thread.

System_CAPS_pubmethodUploadDataAsync(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.

System_CAPS_pubmethodUploadDataAsync(Uri, String, Byte[], Object)

Uploads a data buffer to a resource identified by a URI, using the specified method and identifying token.

System_CAPS_pubmethodUploadDataTaskAsync(String, Byte[])

Uploads a data buffer that contains a Byte array to the URI specified as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadDataTaskAsync(String, String, Byte[])

Uploads a data buffer that contains a Byte array to the URI specified as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadDataTaskAsync(Uri, Byte[])

Uploads a data buffer that contains a Byte array to the URI specified as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadDataTaskAsync(Uri, String, Byte[])

Uploads a data buffer that contains a Byte array to the URI specified as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadFile(String, String)

Uploads the specified local file to a resource with the specified URI.

System_CAPS_pubmethodUploadFile(String, String, String)

Uploads the specified local file to the specified resource, using the specified method.

System_CAPS_pubmethodUploadFile(Uri, String)

Uploads the specified local file to a resource with the specified URI.

System_CAPS_pubmethodUploadFile(Uri, String, String)

Uploads the specified local file to the specified resource, using the specified method.

System_CAPS_pubmethodUploadFileAsync(Uri, String)

Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.

System_CAPS_pubmethodUploadFileAsync(Uri, String, String)

Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.

System_CAPS_pubmethodUploadFileAsync(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.

System_CAPS_pubmethodUploadFileTaskAsync(String, String)

Uploads the specified local file to a resource as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadFileTaskAsync(String, String, String)

Uploads the specified local file to a resource as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadFileTaskAsync(Uri, String)

Uploads the specified local file to a resource as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadFileTaskAsync(Uri, String, String)

Uploads the specified local file to a resource as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadString(String, String)

Uploads the specified string to the specified resource, using the POST method.

System_CAPS_pubmethodUploadString(String, String, String)

Uploads the specified string to the specified resource, using the specified method.

System_CAPS_pubmethodUploadString(Uri, String)

Uploads the specified string to the specified resource, using the POST method.

System_CAPS_pubmethodUploadString(Uri, String, String)

Uploads the specified string to the specified resource, using the specified method.

System_CAPS_pubmethodUploadStringAsync(Uri, String)

Uploads the specified string to the specified resource. This method does not block the calling thread.

System_CAPS_pubmethodUploadStringAsync(Uri, String, String)

Uploads the specified string to the specified resource. This method does not block the calling thread.

System_CAPS_pubmethodUploadStringAsync(Uri, String, String, Object)

Uploads the specified string to the specified resource. This method does not block the calling thread.

System_CAPS_pubmethodUploadStringTaskAsync(String, String)

Uploads the specified string to the specified resource as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadStringTaskAsync(String, String, String)

Uploads the specified string to the specified resource as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadStringTaskAsync(Uri, String)

Uploads the specified string to the specified resource as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadStringTaskAsync(Uri, String, String)

Uploads the specified string to the specified resource as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadValues(String, NameValueCollection)

Uploads the specified name/value collection to the resource identified by the specified URI.

System_CAPS_pubmethodUploadValues(String, String, NameValueCollection)

Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.

System_CAPS_pubmethodUploadValues(Uri, NameValueCollection)

Uploads the specified name/value collection to the resource identified by the specified URI.

System_CAPS_pubmethodUploadValues(Uri, String, NameValueCollection)

Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.

System_CAPS_pubmethodUploadValuesAsync(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.

System_CAPS_pubmethodUploadValuesAsync(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.

System_CAPS_pubmethodUploadValuesAsync(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.

System_CAPS_pubmethodUploadValuesTaskAsync(String, NameValueCollection)

Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadValuesTaskAsync(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.

System_CAPS_pubmethodUploadValuesTaskAsync(Uri, NameValueCollection)

Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.

System_CAPS_pubmethodUploadValuesTaskAsync(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.

Return to top
Show:
© 2016 Microsoft