Click or drag to resize
WebClient Methods

The WebClient type exposes the following members.

Methods
  NameDescription
Public methodDownloadString(String)
Downloads the requested resource as a System.String. The resource to download is specified as a System.String containing the URI.
Public methodDownloadString(Uri)
Downloads the requested resource as a System.String. The resource to download is specified as a System.Uri.
Public methodDownloadStringAsync
Downloads the resource specified as a System.Uri. This method does not block the calling thread.
Public methodDownloadStringTaskAsync(String)
Downloads the resource as a String from the URI specified as an asynchronous operation using a task object.
Public methodDownloadStringTaskAsync(Uri)
Downloads the resource as a String from the URI specified as an asynchronous operation using a task object.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUploadString(String, String)
Uploads the specified string to the specified resource, using the POST method.
Public methodUploadString(Uri, String)
Uploads the specified string to the specified resource, using the POST method.
Public methodUploadString(String, String, String)
Uploads the specified string to the specified resource, using the specified method.
Public methodUploadString(Uri, String, String)
Uploads the specified string to the specified resource, using the specified method.
Public methodUploadStringAsync(Uri, String)
Uploads the specified string to the specified resource. This method does not block the calling thread.
Public methodUploadStringAsync(Uri, String, String)
Uploads the specified string to the specified resource. This method does not block the calling thread.
Public methodUploadStringTaskAsync(String, String)
Uploads the specified string to the specified resource as an asynchronous operation using a task object.
Public methodUploadStringTaskAsync(Uri, String)
Uploads the specified string to the specified resource as an asynchronous operation using a task object.
Public methodUploadStringTaskAsync(String, String, String)
Uploads the specified string to the specified resource as an asynchronous operation using a task object.
Public methodUploadStringTaskAsync(Uri, String, String)
Uploads the specified string to the specified resource as an asynchronous operation using a task object.
Top
See Also