Solved

Get URL

Posted on 2006-10-19
1
200 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

803 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