Westwind Utilities
HttpClient.DownloadBytes
Table of Contents
On this page:

HttpClient.DownloadBytes

Retrieves URL into an Byte Array.

public byte[] DownloadBytes(string url, long bufferSize)

Parameters

url
Url to read

bufferSize
Size of the buffer for each read. 0 = 8192

Remarks

Fires the ReceiveData Event

Overloads

public Task<byte[]> DownloadBytesAsync(string url, long bufferSize)

© West Wind Technologies, 2026 • updated: Jan 02, 2026
Comment or report problem with topic