WebClient Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The WebClient type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone CancelAsync Cancels a pending asynchronous operation.
Public methodSupported by Silverlight for Windows Phone DownloadStringAsync(Uri) Downloads the resource at the specified Uri as a string.
Public methodSupported by Silverlight for Windows Phone DownloadStringAsync(Uri, Object) Downloads the resource at the specified Uri as a string.
Public methodSupported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone GetWebRequest Returns a WebRequest object for the specified resource.
Protected methodSupported by Silverlight for Windows Phone GetWebResponse Returns the WebResponse for the specified WebRequest using the specified IAsyncResult.
Protected methodSupported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone OnDownloadProgressChanged Raises the DownloadProgressChanged event.
Protected methodSupported by Silverlight for Windows Phone OnDownloadStringCompleted Raises the DownloadStringCompleted event.
Protected methodSupported by Silverlight for Windows Phone OnOpenReadCompleted Raises the OpenReadCompleted event.
Protected methodSupported by Silverlight for Windows Phone OnOpenWriteCompleted Raises the OpenWriteCompleted event.
Protected methodSupported by Silverlight for Windows Phone OnUploadProgressChanged Raises the UploadProgressChanged event.
Protected methodSupported by Silverlight for Windows Phone OnUploadStringCompleted Raises the UploadStringCompleted event.
Protected methodSupported by Silverlight for Windows Phone OnWriteStreamClosed Raises the WriteStreamClosed event.
Public methodSupported by Silverlight for Windows Phone OpenReadAsync(Uri) Opens a readable stream to the specified resource.
Public methodSupported by Silverlight for Windows Phone OpenReadAsync(Uri, Object) Opens a readable stream to the specified resource.
Public methodSupported by Silverlight for Windows Phone OpenWriteAsync(Uri) Opens a stream for writing data to the specified resource. This method does not block the calling thread.
Public methodSupported by Silverlight for Windows Phone OpenWriteAsync(Uri, String) Opens a stream for writing data to the specified resource. This method does not block the calling thread.
Public methodSupported by Silverlight for Windows Phone 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.
Public methodSupported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone UploadStringAsync(Uri, String) Uploads the specified string to the specified resource. This method does not block the calling thread.
Public methodSupported by Silverlight for Windows Phone UploadStringAsync(Uri, String, String) Uploads the specified string to the specified resource. This method does not block the calling thread.
Public methodSupported by Silverlight for Windows Phone UploadStringAsync(Uri, String, String, Object) Uploads the specified string to the specified resource. This method does not block the calling thread.

Top