HttpClient.DownloadStringAsync

Returns the content of a URL as a string using a specified Encoding

public Task<String> DownloadStringAsync(string url,
	long bufferSize,
	Encoding encoding)

Parameters

url

bufferSize
Internal download buffer size used to hold data chunks.

encoding
A .NET Encoding scheme or null to attempt sniffing from Charset.


See also:

Class HttpClient

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic