You can use the WebClient
Using System.Net;
WebClient client = new WebClient();
string downloadString = client.DownloadString("http://www.gooogle.com");
More Related Contents:
- Calling async method synchronously
- Download/Stream file from URL – asp.net
- Could not find a part of the path … bin\roslyn\csc.exe
- How to get current user, and how to use User class in MVC5?
- asp.net: Invalid postback or callback argument
- Why is HttpContext.Current null?
- ASP.Net 2012 Unobtrusive Validation with jQuery
- Printing to a client printer from a web app
- How do I get the access token from a blazor (server-side) web app?
- How do I see the raw HTTP request that the HttpWebRequest class sends?
- Write PDF stream to response stream
- How to set attributes values using reflection
- CallContext vs ThreadStatic
- Perform screen-scape of Webbrowser control in thread
- How do you bind an Enum to a DropDownList control in ASP.NET?
- Writing file to web server – ASP.NET
- What is the best approach to handle session timeouts in asp.net
- How to make LINQ execute a (SQL) LIKE range search
- How to debug a single thread in Visual Studio?
- How can I get date and time formats based on Culture Info?
- ConfigurationManager.AppSettings getting null?
- How can I get the baseurl of site?
- MEF with MVC 4 or 5 – Pluggable Architecture (2014)
- How do I force full post-back from a button within an UpdatePanel?
- ThreadStaticAttribute in ASP.NET
- Registering an Application to a URI Scheme in windows 10
- How do you post a JSON file to an ASP.NET MVC Action?
- Get a list of all tree nodes (in all levels) in TreeView Controls
- Get first element from a dictionary
- Amazon SES Email address is not verified