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

HttpClient.GetUrl

Returns the content of a URL as a string

public string GetUrl(string url, long bufferSize, 
			Encoding encoding)

Parameters

url

bufferSize
The intermediate download buffer used

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

Overloads

public bool GetUrlFile(string Url, long BufferSize, string OutputFile)
public string GetUrlPartial(string url, int size)
public HttpWebResponse GetUrlResponse(string url)

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