WebClient Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| CancelAsync | Cancels a pending asynchronous operation. |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
| Dispose | Overloaded. Releases the resources used by the Component. (Inherited from Component.) |
| DownloadData | Overloaded. Downloads with the specified URI as a Byte array. |
| DownloadDataAsync | Overloaded. Downloads the specified resource as a Byte array. These methods do not block the calling thread. |
| DownloadFile | Overloaded. Downloads the resource with the specified URI to a local file. |
| DownloadFileAsync | Overloaded. Downloads the specified resource to a local file. These methods do not block the calling thread. |
| DownloadString | Overloaded. Downloads the specified resource as a String or a Uri. |
| DownloadStringAsync | Overloaded. Downloads the resource specified as a String or a Uri. These methods do not block the calling thread. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| OpenRead | Overloaded. Opens a readable stream for the data downloaded from a resource with the specified URI. |
| OpenReadAsync | Overloaded. Opens a readable stream containing the specified resource. These methods do not block the calling thread. |
| OpenWrite | Overloaded. Opens a stream for writing data to a resource with the specified URI. |
| OpenWriteAsync | Overloaded. Opens a stream for writing data to the specified resource. These methods do not block the calling thread. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
| UploadData | Overloaded. Uploads a data buffer to a resource with the specified URI. |
| UploadDataAsync | Overloaded. Uploads a data buffer to a resource identified by a URI. This method does not block the calling thread. |
| UploadFile | Overloaded. Uploads a local file to a resource with the specified URI. |
| UploadFileAsync | Overloaded. Uploads the specified local file to the specified resource. These methods do not block the calling thread. |
| UploadString | Overloaded. Uploads the specified string to the specified resource. |
| UploadStringAsync | Overloaded. Uploads the specified string to the specified resource. These methods do not block the calling thread. |
| UploadValues | Overloaded. Uploads a name/value collection to a resource with the specified URI. |
| UploadValuesAsync | Overloaded. Uploads the specified name/value collection to the resource identified by the specified URI. These methods do not block the calling thread. |
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Releases the resources used by the Component. (Inherited from Component.) |
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
| GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) |
| GetWebRequest | Returns a WebRequest object for the specified resource. |
| GetWebResponse | Overloaded. Returns the WebResponse for the specified WebRequest. |
| MemberwiseClone | Overloaded. (Inherited from MarshalByRefObject.) |
| OnDownloadDataCompleted | Raises the DownloadDataCompleted event. |
| OnDownloadFileCompleted | Raises the DownloadFileCompleted event. |
| OnDownloadProgressChanged | Raises the DownloadProgressChanged event. |
| OnDownloadStringCompleted | Raises the DownloadStringCompleted event. |
| OnOpenReadCompleted | Raises the OpenReadCompleted event. |
| OnOpenWriteCompleted | Raises the OpenWriteCompleted event. |
| OnUploadDataCompleted | Raises the UploadDataCompleted event. |
| OnUploadFileCompleted | Raises the UploadFileCompleted event. |
| OnUploadProgressChanged | Raises the UploadProgressChanged event. |
| OnUploadStringCompleted | Raises the UploadStringCompleted event. |
| OnUploadValuesCompleted | Raises the UploadValuesCompleted event. |