C# sample for retrieving html content from any websites
Retrieving html content from any URL
|
|
|
Download Sample .NET Project for this chapter
This chapter will teach you how to retrieve content of any website using .NET classes.
This chapter and the attached sample application demonstrates the usage of following .NET classes and methods:
System.Net.WebRequest() - Class to perform the web related operations. System.Net.WebRequest.Create(url) - Create a web request. System.Net.WebRequest.GetResponse() - Get the html content of the URL. System.IO.StreamReader - Read from file.
|
Next Chapter: Application Configuration Files Previous Chapter: C# sample for basic file operations More Chapters: .NET Tutorials More Tutorials: Tutorial Index
|