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, 1996-2020 • Updated: 07/15/20
Comment or report problem with topic