WebClient.DownloadData Method
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9119)
DownloadData(String)
Downloads data from provided URI.
Declaration
public byte[] DownloadData(string uri)
Parameters
Type | Name | Description |
---|---|---|
String | uri | URI to retrieve data from. |
Returns
Type | Description |
---|---|
Byte[] | Byte array that contains data retrieved from provided URI. |
Remarks
HTTP method GET is used to retrieve the data.
DownloadData(Uri)
Downloads data from provided URI.
Declaration
public byte[] DownloadData(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | URI to retrieve data from. |
Returns
Type | Description |
---|---|
Byte[] | Byte array that contains data retrieved from provided URI. |
Remarks
HTTP method GET is used to retrieve the data.