Export (0) Print
Expand All
3 out of 4 rated this helpful - Rate this topic

WebClient Methods

(see also Protected Methods )
  Name Description
Public method CancelAsync Cancels a pending asynchronous operation.
Public method 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.)
Public method Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Public method DownloadData Overloaded. Downloads with the specified URI as a Byte array.
Public method DownloadDataAsync Overloaded. Downloads the specified resource as a Byte array. These methods do not block the calling thread.
Public method DownloadFile Overloaded. Downloads the resource with the specified URI to a local file.
Public method DownloadFileAsync Overloaded. Downloads the specified resource to a local file. These methods do not block the calling thread.
Public method DownloadString Overloaded. Downloads the specified resource as a String or a Uri.
Public method DownloadStringAsync Overloaded. Downloads the resource specified as a String or a Uri. These methods do not block the calling thread.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method 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.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method OpenRead Overloaded. Opens a readable stream for the data downloaded from a resource with the specified URI.
Public method OpenReadAsync Overloaded. Opens a readable stream containing the specified resource. These methods do not block the calling thread.
Public method OpenWrite Overloaded. Opens a stream for writing data to a resource with the specified URI.
Public method OpenWriteAsync Overloaded. Opens a stream for writing data to the specified resource. These methods do not block the calling thread.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Public method UploadData Overloaded. Uploads a data buffer to a resource with the specified URI.
Public method UploadDataAsync Overloaded. Uploads a data buffer to a resource identified by a URI. This method does not block the calling thread.
Public method UploadFile Overloaded. Uploads a local file to a resource with the specified URI.
Public method UploadFileAsync Overloaded. Uploads the specified local file to the specified resource. These methods do not block the calling thread.
Public method UploadString Overloaded. Uploads the specified string to the specified resource.
Public method UploadStringAsync Overloaded. Uploads the specified string to the specified resource. These methods do not block the calling thread.
Public method UploadValues Overloaded. Uploads a name/value collection to a resource with the specified URI.
Public method UploadValuesAsync Overloaded. Uploads the specified name/value collection to the resource identified by the specified URI. These methods do not block the calling thread.
Top
  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Protected method GetWebRequest Returns a WebRequest object for the specified resource.
Protected method GetWebResponse Overloaded. Returns the WebResponse for the specified WebRequest.
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Protected method OnDownloadDataCompleted Raises the DownloadDataCompleted event.
Protected method OnDownloadFileCompleted Raises the DownloadFileCompleted event.
Protected method OnDownloadProgressChanged Raises the DownloadProgressChanged event.
Protected method OnDownloadStringCompleted Raises the DownloadStringCompleted event.
Protected method OnOpenReadCompleted Raises the OpenReadCompleted event.
Protected method OnOpenWriteCompleted Raises the OpenWriteCompleted event.
Protected method OnUploadDataCompleted Raises the UploadDataCompleted event.
Protected method OnUploadFileCompleted Raises the UploadFileCompleted event.
Protected method OnUploadProgressChanged Raises the UploadProgressChanged event.
Protected method OnUploadStringCompleted Raises the UploadStringCompleted event.
Protected method OnUploadValuesCompleted Raises the UploadValuesCompleted event.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.