## WebClient::DownloadString(const SharedPtr\<Uri\>\&) const method


Downloads the specified resource as a string.

```cpp
String System::Net::WebClient::DownloadString(const SharedPtr<Uri> &address) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| address | const SharedPtr\<Uri\>\& | The resource's URI. |

### ReturnValue

The string that contains the requested resource.

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Uri](../../../system/uri/)
* Class [WebClient](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
## WebClient::DownloadString(const String\&) const method


Downloads the specified resource as a string.

```cpp
String System::Net::WebClient::DownloadString(const String &address) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| address | const String\& | The resource's URI. |

### ReturnValue

The string that contains the requested resource.

## See Also

* Class [String](../../../system/string/)
* Class [WebClient](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
