Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [code]
- WebRequest request = WebRequest.Create("URL");
- WebResponse response = request.GetResponse();
- Stream data = response.GetResponseStream();
- string html = String.Empty;
- using (StreamReader sr = new StreamReader(data))
- {
- html = sr.ReadToEnd();
- }
- [/code]
Advertisement
Add Comment
Please, Sign In to add comment