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-2024 • Updated: 06/29/24
Comment or report problem with topic