In The Hand - .NET Components for Mobility
WebClient Class
NamespacesInTheHand.NetWebClient
Provides helper methods for sending data to and receiving data from a resource identified by a URI.
Declaration Syntax
C#Visual Basic
public class WebClient : Component
Public Class WebClient _
	Inherits Component
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
WebClient()()()
BaseAddress
Gets or sets the base URI for requests made by a WebClient.

Credentials
Gets or sets the network credentials that are sent to the host and used to authenticate the request.

Dispose()()()
Releases all resources used by the Component.
(Inherited from Component.)
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.)
Disposed
Adds an event handler to listen to the Disposed event on the component.
(Inherited from Component.)
DownloadData(String)
Downloads data at the specified URI as a Byte array.

DownloadData(Uri)
Downloads data at the specified URI as a Byte array.

DownloadFile(String, String)
Downloads the resource with the specified URI to a local file.

DownloadFile(Uri, String)
Downloads the resource with the specified URI to a local file.

DownloadString(String)
Downloads the specified resource as a String.

DownloadString(Uri)
Downloads the specified resource as a String.

Encoding
Gets and sets the Encoding used to upload and download strings.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Finalize()()()
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
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.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
GetWebRequest(Uri)
Returns a WebRequest object for the specified resource.

GetWebResponse(WebRequest)
Returns the WebResponse for the specified WebRequest.

Headers
Gets or sets a collection of header name/value pairs associated with the request.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Proxy
Gets or sets the proxy used by this WebClient object.

Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UploadData(String, array<Byte>[]()[])
Uploads a data buffer to a resource identified by a URI.

UploadData(Uri, array<Byte>[]()[])
Uploads a data buffer to a resource identified by a URI.

UploadData(String, String, array<Byte>[]()[])
Uploads a data buffer to the specified resource, using the specified method.

UploadData(Uri, String, array<Byte>[]()[])
Uploads a data buffer to the specified resource, using the specified method.

UploadFile(String, String)
Uploads the specified local file to a resource with the specified URI.

UploadFile(Uri, String)
Uploads the specified local file to a resource with the specified URI.

UploadFile(String, String, String)
Uploads the specified local file to the specified resource, using the specified method.

UploadFile(Uri, String, String)
Uploads the specified local file to the specified resource, using the specified method.

UploadString(String, String)
Uploads the specified string to the specified resource.

UploadString(Uri, String)
Uploads the specified string to the specified resource.

UploadString(String, String, String)
Uploads the specified string to the specified resource, using the specified method.

UploadString(Uri, String, String)
Uploads the specified string to the specified resource, using the specified method.

UploadValues(String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI.

UploadValues(Uri, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI.

UploadValues(String, String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.

UploadValues(Uri, String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.

Inheritance Hierarchy
See Also
[!:System.Net.WebClient]

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 2.1.0.0