System::Net::WebClient::DownloadData method

WebClient::DownloadData(const String&) const method

Downloads the specified resource as a byte array.

ByteArrayPtr System::Net::WebClient::DownloadData(const String &address) const
ParameterTypeDescription
addressconst String&The resource’s URI.

ReturnValue

The byte array that contains the requested resource.

See Also

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
ParameterTypeDescription
addressconst SharedPtr<Uri>&The resource’s URI.

ReturnValue

The byte array that contains the requested resource.

See Also