We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
开发者_C百科 Improve this questionI know HTTPRequest and Response are available, but I am looking for a HTTP component/class wrapper that I can plug straight into code with less hassle.
Are there any free or paid components/classes like this?
It's unclear to me what exactly you are trying to accomplish. I think you want to download URLs via HTTP protocol. If that's true, I doubt you'll find anything easier to use than the built-in System.Net.WebClient
class since using it is a single line of code:
string html = new WebClient().DownloadString(url);
byte[] data = new WebClient().DownloadData(url);
If you need to display a Web page in a Windows Forms application, you can use the WebBrowser control.
精彩评论