## WebClient::DownloadData(const SharedPtr\<Uri\>\&) const method


Laddar ner den angivna resursen som en byte‑array.

```cpp
ByteArrayPtr System::Net::WebClient::DownloadData(const SharedPtr<Uri> &address) const
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| adress | const SharedPtr\<Uri\>\& | Resursens URI. |

### ReturnValue

Bytearrayen som innehåller den begärda resursen.

## Se även

* Typedef [ByteArrayPtr](../../../system/bytearrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Uri](../../../system/uri/)
* Class [WebClient](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
## WebClient::DownloadData(const String\&) const method


Laddar ner den angivna resursen som en byte‑array.

```cpp
ByteArrayPtr System::Net::WebClient::DownloadData(const String &address) const
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| adress | const String\& | Resursens URI. |

### ReturnValue

Bytearrayen som innehåller den begärda resursen.

## Se även

* Typedef [ByteArrayPtr](../../../system/bytearrayptr/)
* Class [String](../../../system/string/)
* Class [WebClient](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
