Solved

Get URL

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now