Mono Class Library: System.Net.WebClient Overview | MembersSystem.Net.WebClient.DownloadData Method |
Downloads data from the resource identified by the specified URI. [Edit]
|
A byte array containing the data downloaded from the resource specified by address. [Edit]
Type Reason System.Net.WebException The absolute URI is not valid.
-or-
An error occurred while downloading data.
[Edit]
If the WebClient.BaseAddress property of the current instance is not string.Empty, address is combined with WebClient.BaseAddress to form the absolute URI of the requested data. If the WebClient.BaseAddress property of the current instance is string.Empty, address is required to be the absolute URI of the requested data. If the WebClient.QueryString property of the current instance is not string.Empty, it is appended to address. [Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0