Mono Class Library: System.Net Namespace

System.Net.WebClient Class

Provides common methods for sending data to and receiving data from a resource identified by a URI. [Edit]

See Also: WebClient Members

System.Object
     System.MarshalByRefObject
          System.ComponentModel.Component
               System.Net.WebClient

[System.Runtime.InteropServices.ComVisible(true)]
public class WebClient : System.ComponentModel.Component

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Note:

The System.Net.WebClient class provides common methods for sending data to or receiving data from any local, Intranet, or Internet resource identified by a URI.

The System.Net.WebClient class uses the System.Net.WebRequest class to provide access to Internet resources. System.Net.WebClient instances can access data with any class derived from System.Net.WebRequest that is registered with the WebRequest.RegisterPrefix(string, IWebRequestCreate) method.

By default, the CLI supports URIs with the "http:", "https:", and "file:" schemes.

The System.Net.WebClient class provides the following methods for uploading data to a resource.

The System.Net.WebClient class also provides the following methods for downloading data from a resource.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0