© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
20 replies
Sound

✅ HttpClient Get Page Content

I need a method
RequestHelper.GetContent(string url)
RequestHelper.GetContent(string url)
that returns the url's html as string.
I also need a method that can get the page content as binary, so i can download files.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

HttpResponseMessage.Content.Header.ContentEncoding is empty
C#CC# / help
2y ago
❔ Access page behind Azure OAuth using HttpClient?
C#CC# / help
4y ago
HTTPClient
C#CC# / help
2y ago
✅ httpclient get download stream in blazor
C#CC# / help
4y ago