Solved

Get URL

Posted on 2006-10-19
1
201 Views
Last Modified: 2010-04-16
hi,

what class(s) can you use to get the response from a GET URL request.

thanks
0
Comment
Question by:Fatlog
1 Comment
 
LVL 20

Accepted Solution

by:
REA_ANDREW earned 20 total points
ID: 17764580
using System.Net;

HttpWebRequest request = (HttpWebRequest)
                WebRequest.Create("http://wwlsupplies/index.asp");

            // execute the request
HttpWebResponse response = (HttpWebResponse)
                request.GetResponse();
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question