DownloadString()

WebClient::DownloadString(const String&) const method

Downloads the specified resource as a string.

String System::Net::WebClient::DownloadString(const String &address) const

Arguments

ParameterTypeDescription
addressconst String&The resource’s URI.

Return Value

The string that contains the requested resource.

WebClient::DownloadString(const SharedPtr<Uri>&) const method

Downloads the specified resource as a string.

String System::Net::WebClient::DownloadString(const SharedPtr<Uri> &address) const

Arguments

ParameterTypeDescription
addressconst SharedPtr<Uri>&The resource’s URI.

Return Value

The string that contains the requested resource.

See Also