DownloadData()

WebClient::DownloadData(const String&) const method

Downloads the specified resource as a byte array.

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

Arguments

ParameterTypeDescription
addressconst String&The resource’s URI.

Return Value

The byte array that contains the requested resource.

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

Downloads the specified resource as a byte array.

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

Arguments

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

Return Value

The byte array that contains the requested resource.

See Also