HttpClient.DownloadBytesAsync

Retrieves URL into an Byte Array.

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

Parameters

url
Url to read

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

Remarks

Fires the ReceiveData Event